Sophie

Sophie

distrib > Mageia > 7 > armv7hl > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 714

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The Collectable interface</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="worker.unstack.html">Worker::unstack</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="collectable.isgarbage.html">Collectable::isGarbage</a></div>
 <div class="up"><a href="book.pthreads.html">pthreads</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="class.collectable" class="reference">

 <h1 class="title">The Collectable interface</h1>
 
  
 <div class="partintro"><p class="verinfo">(PECL pthreads &gt;= 2.0.8)</p>

  <div class="section" id="collectable.intro">
   <h2 class="title">Introduction</h2>
   <div class="caution"><strong class="caution">Caution</strong>
    <p class="para">
     <strong class="classname">Collectable</strong> was previously a class (in pthreads v2
     and below). Now, it is an interface in pthreads v3 that is implemented by
     the <a href="class.threaded.html" class="classname">Threaded</a> class.
    </p>
   </div>

   <p class="para">
    Represents a garbage-collectable object.
   </p>
  </div>


  <div class="section" id="collectable.synopsis">
   <h2 class="title">Interface synopsis</h2>


   <div class="classsynopsis">
    <div class="ooclass"></div>


    <div class="classsynopsisinfo">
     <span class="ooclass">
      <strong class="classname">Collectable</strong>
     </span>
     {</div>

    
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><a href="collectable.isgarbage.html" class="methodname">isGarbage</a></span>
    ( <span class="methodparam">void</span>
   )</div>
<div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">void</span> <span class="methodname"><a href="collectable.setgarbage.html" class="methodname">setGarbage</a></span>
    ( <span class="methodparam">void</span>
   )</div>


   }</div>


  </div>

 </div>

 











 



<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="collectable.isgarbage.html">Collectable::isGarbage</a> — Determine whether an object has been marked as garbage</li><li><a href="collectable.setgarbage.html">Collectable::setGarbage</a> — Mark an object as garbage</li></ul>
</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="worker.unstack.html">Worker::unstack</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="collectable.isgarbage.html">Collectable::isGarbage</a></div>
 <div class="up"><a href="book.pthreads.html">pthreads</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>