PHP 8.4.2 Released!

Collectable::isGarbage

(PECL pthreads >= 2.0.8)

Collectable::isGarbageDetermine whether an object has been marked as garbage

Descrizione

public Collectable::isGarbage(): true

Can be called in Pool::collect() to determine if this object is garbage.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Always returns true.

Log delle modifiche

Versione Descrizione
8.2.0 The return type is true now; previously, it was bool.

Vedere anche:

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top