Collectable
PHP Manual

Collectable::setGarbage

(PECL pthreads >= 2.0.8)

Collectable::setGarbageMark an object as garbage

说明

public void Collectable::setGarbage ( void )

Should be called once per object when the object is finished being executed or referenced.

参见


Collectable
PHP Manual