array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'collectable.isgarbage.php', 1 => 'Collectable::isGarbage', ), 'up' => array ( 0 => 'class.collectable.php', 1 => 'Collectable', ), 'prev' => array ( 0 => 'class.collectable.php', 1 => 'Collectable', ), 'next' => array ( 0 => 'class.pool.php', 1 => 'Pool', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pthreads/collectable/isgarbage.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL pthreads >= 2.0.8)
Collectable::isGarbage — Determine whether an object has been marked as garbage
Can be called in Pool::collect() to determine if this object is garbage.
Esta función no tiene parámetros.
Siempre devuelve true
.