Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 13636

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>Call a callback with an array of parameters</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.swoole-coroutine.html">Swoole\Coroutine</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swoole-coroutine.call-user-func.html">Swoole\Coroutine::call_user_func</a></div>
 <div class="up"><a href="class.swoole-coroutine.html">Swoole\Coroutine</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="swoole-coroutine.call-user-func-array" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Swoole\Coroutine::call_user_func_array</h1>
  <p class="verinfo">(PHP 7, PECL swoole &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">Swoole\Coroutine::call_user_func_array</span> &mdash; <span class="dc-title">Call a callback with an array of parameters</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-swoole-coroutine.call-user-func-array-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="modifier">static</span> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>Swoole\Coroutine::call_user_func_array</strong></span>
    ( <span class="methodparam"><span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> <code class="parameter">$callback</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter">$param_array</code></span>
   )</div>

  <p class="para rdfs-comment">
    Calls the callback given by the first parameter with the parameters in param_array.
  </p>

 </div>


 <div class="refsect1 parameters" id="refsect1-swoole-coroutine.call-user-func-array-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
    <dl>

      
        <dt>
<code class="parameter">callback</code></dt>

        <dd>

        <p class="para">
          The <span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> to be called.
        </p>
        </dd>

      
      
     <dt>
<code class="parameter">param_array</code></dt>

     <dd>

      <p class="para">
       Zero or more parameters in the array to be passed to the callback.
      </p>
     </dd>

    
    </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-swoole-coroutine.call-user-func-array-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   
  </p>
 </div>



</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="class.swoole-coroutine.html">Swoole\Coroutine</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="swoole-coroutine.call-user-func.html">Swoole\Coroutine::call_user_func</a></div>
 <div class="up"><a href="class.swoole-coroutine.html">Swoole\Coroutine</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>