Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 13121

php-manual-en-5.5.7-1.mga4.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>Remove item from poll set</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="zmqpoll.poll.html">ZMQPoll::poll</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.zmqdevice.html">ZMQDevice</a></div>
 <div class="up"><a href="class.zmqpoll.html">ZMQPoll</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="zmqpoll.remove" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ZMQPoll::remove</h1>
  <p class="verinfo">(PECL zmq &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">ZMQPoll::remove</span> &mdash; <span class="dc-title">Remove item from poll set</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-zmqpoll.remove-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">boolean</span> <span class="methodname"><strong>ZMQPoll::remove</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$item</code></span>
   )</div>

  <p class="para rdfs-comment">
   Remove item from the poll set. The <em><code class="parameter">item</code></em> parameter can be ZMQSocket object,
   a stream resource or the id returned from  <span class="function"><a href="zmqpoll.add.html" class="function">ZMQPoll::add()</a></span> method.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-zmqpoll.remove-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">item</code></em></span>
     <dd>

      <p class="para">
       The ZMQSocket object, PHP stream or <span class="type"><a href="language.types.string.html" class="type string">string</a></span> id of the item.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-zmqpoll.remove-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns true if the item was removed and false if the object 
   with given id does not exist in the poll set.
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="zmqpoll.poll.html">ZMQPoll::poll</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.zmqdevice.html">ZMQDevice</a></div>
 <div class="up"><a href="class.zmqpoll.html">ZMQPoll</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>