<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.swoole-timer.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'tr',
  ),
  'this' => 
  array (
    0 => 'swoole-timer.exists.php',
    1 => 'Swoole\\Timer::exists',
    2 => 'Check if a timer is existed.',
  ),
  'up' => 
  array (
    0 => 'class.swoole-timer.php',
    1 => 'Swoole\\Timer',
  ),
  'prev' => 
  array (
    0 => 'swoole-timer.clearall.php',
    1 => 'Swoole\\Timer::clearAll',
  ),
  'next' => 
  array (
    0 => 'swoole-timer.info.php',
    1 => 'Swoole\\Timer::info',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/swoole/swoole/timer/exists.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="swoole-timer.exists" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Timer::exists</h1>
  <p class="verinfo">(PECL swoole &gt;= 1.9.0)</p><p class="refpurpose"><span class="refname">Swoole\Timer::exists</span> &mdash; <span class="dc-title">Check if a timer is existed.</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-timer.exists-description">
  <h3 class="title">Açıklama</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="modifier">function</span> <span class="methodname"><strong>Swoole\Timer::exists</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$timer_id</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   Checks whether a timer with the given ID exists in the current process.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-timer.exists-parameters">
  <h3 class="title">Bağımsız Değişkenler</h3>
  <dl>
   
    <dt><code class="parameter">timer_id</code></dt>
    <dd>
     <p class="simpara">
      The timer ID returned by <span class="methodname"><a href="swoole-timer.tick.php" class="methodname">Swoole\Timer::tick()</a></span> or
      <span class="methodname"><a href="swoole-timer.after.php" class="methodname">Swoole\Timer::after()</a></span>.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swoole-timer.exists-returnvalues">
  <h3 class="title">Dönen Değerler</h3>
  <p class="simpara">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if a timer with this ID exists in the current process,
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> otherwise.
  </p>
 </div>



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