How does php find possible roots?

when php performs garbage collection, it writes the garbage to the root buffer, and then determines the collection through the execution rules. Excuse me, the garbage here is the possible root. How does php determine the possible root?

Php
Jun.10,2022

in versions above php5.3, if you find that the refcount in a zval container is decreasing, but not to zero, PHP will put this value in the buffer as a suspicious object that may be junk.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36fc1-2c05f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36fc1-2c05f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?