php8.5
Home/ Manual/ pthreads / collectable/ Collectable::isGarbage

Collectable::isGarbage

PHP function Edit on GitHub ✎

(PECL pthreads >= 2.0.8)

Determine whether an object has been marked as garbage

Description

Collectable::isGarbage(): true

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

Parameters Parameters

Return Values

Always

Changelog

VersionDescription

See Also

  • Pool::collect

Source: reference/pthreads/collectable/isgarbage.xml · from the official PHP manual (php/doc-en)