PHP - Collectable :: isGarbage ()

La fonction Collectable :: isGarbage () peut déterminer si un objet a été marqué comme garbage.

Syntaxe

public bool Collectable::isGarbage( void )

La fonction Collectable :: isGarbage () peut être appelée dans la fonction Pool :: collect () pour déterminer si cet objet est garbage.