(PECL pthreads >= 2.0.8)
Collectable was previously a class (in pthreads v2 and below). Now, it is an interface in pthreads v3 that is implemented by the Threaded class.
Represents a garbage-collectable object.
public isGarbage ( ) : bool
public setGarbage ( ) : void}
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.collectable.php