• PHP Video Tutorials

PHP - Collectable::isGarbage()



The Collectable::isGarbage() function can determine whether an object has been marked as garbage.

Syntax

public bool Collectable::isGarbage( void )

The Collectable::isGarbage() function can be called in Pool::collect() function to determine if this object is garbage.

php_function_reference.htm
Advertisements