PHP - Manual: Collectable::setGarbage
2024-04-29
(PECL pthreads < 3.0.0)
Collectable::setGarbage — Mark an object as garbage
This method has been removed in pthreads v3.
Should be called once per object when the object is finished being executed or referenced.
官方地址:https://www.php.net/manual/en/collectable.setgarbage.php