<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.zmqcontext.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'zh',
  ),
  'this' => 
  array (
    0 => 'zmqcontext.ispersistent.php',
    1 => 'ZMQContext::isPersistent',
    2 => 'Whether the context is persistent',
  ),
  'up' => 
  array (
    0 => 'class.zmqcontext.php',
    1 => 'ZMQContext',
  ),
  'prev' => 
  array (
    0 => 'zmqcontext.getsocket.php',
    1 => 'ZMQContext::getSocket',
  ),
  'next' => 
  array (
    0 => 'zmqcontext.setopt.php',
    1 => 'ZMQContext::setOpt',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/zmq/zmqcontext/ispersistent.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="zmqcontext.ispersistent" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ZMQContext::isPersistent</h1>
  <p class="verinfo">(PECL zmq &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">ZMQContext::isPersistent</span> &mdash; <span class="dc-title">Whether the context is persistent</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-zmqcontext.ispersistent-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ZMQContext::isPersistent</strong></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
    Whether the context is persistent. Persistent context is needed for persistent connections as each
    socket is allocated from a context.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-zmqcontext.ispersistent-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-zmqcontext.ispersistent-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if the context is persistent and <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if the context is non-persistent.
  </p>
 </div>



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