PHP 8.1.28 Released!

Collectable::isGarbage

(PECL pthreads >= 2.0.8)

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

Descripción

public Collectable::isGarbage(): true

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

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Siempre devuelve true.

Historial de cambios

Versión Descripción
8.2.0 The return type is true now; previously, it was bool.

Ver también

add a note

User Contributed Notes

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