<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.collectable.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'collectable.isgarbage.php',
    1 => 'Collectable::isGarbage',
    2 => 'D&eacute;termine si un objet a &eacute;t&eacute; marqu&eacute; comme obsol&egrave;te',
  ),
  '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' => 'fr',
    'path' => 'reference/pthreads/collectable/isgarbage.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="collectable.isgarbage" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Collectable::isGarbage</h1>
  <p class="verinfo">(PECL pthreads &gt;= 2.0.8)</p><p class="refpurpose"><span class="refname">Collectable::isGarbage</span> &mdash; <span class="dc-title">Détermine si un objet a été marqué comme obsolète</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-collectable.isgarbage-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Collectable::isGarbage</strong></span>(): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>

  <p class="simpara">
   Peut être appelé dans <span class="methodname"><a href="pool.collect.php" class="methodname">Pool::collect()</a></span>
   pour déterminer si cet objet est obsolète.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-collectable.isgarbage-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">Cette fonction ne contient aucun paramètre.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-collectable.isgarbage-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="simpara">
   Retourne toujours <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-collectable.isgarbage-changelog">
  <h3 class="title">Historique</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Version</th>
      <th>Description</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.2.0</td>
 <td>
  Le type de retour est maintenant <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>, auparavant il était <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-collectable.isgarbage-seealso">
  <h3 class="title">Voir aussi</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="pool.collect.php" class="methodname" rel="rdfs-seeAlso">Pool::collect()</a> - Collecte les r&eacute;f&eacute;rences des t&acirc;ches achev&eacute;es</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>