<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.fiber.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'fiber.start.php',
    1 => 'Fiber::start',
    2 => 'Start execution of the fiber',
  ),
  'up' => 
  array (
    0 => 'class.fiber.php',
    1 => 'Fiber',
  ),
  'prev' => 
  array (
    0 => 'fiber.construct.php',
    1 => 'Fiber::__construct',
  ),
  'next' => 
  array (
    0 => 'fiber.resume.php',
    1 => 'Fiber::resume',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'language/predefined/fiber/start.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="fiber.start" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Fiber::start</h1>
  <p class="verinfo">(PHP 8 &gt;= 8.1.0)</p><p class="refpurpose"><span class="refname">Fiber::start</span> &mdash; <span class="dc-title">Start execution of the fiber</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-fiber.start-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>Fiber::start</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">...$args</code></span>): <span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span></div>

  <p class="para rdfs-comment">
   A variadic list of arguments to provide to the callable used when constructing the fiber.
  </p>
  <p class="para">
   If the fiber has already been started when this method is called, a <span class="classname"><a href="class.fibererror.php" class="classname">FiberError</a></span> will be thrown.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-fiber.start-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">args</code></dt>
    <dd>
     <p class="para">
      The arguments to use when invoking the callable given to the fiber constructor.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-fiber.start-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   The value provided to the first call to <span class="methodname"><a href="fiber.suspend.php" class="methodname">Fiber::suspend()</a></span> or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if the fiber returns.
   If the fiber throws an exception before suspending, it will be thrown from the call to this method.
  </p>
 </div>


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