array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'class.fiber.php', 1 => 'Fiber', ), 'up' => array ( 0 => 'reserved.interfaces.php', 1 => 'Interfaces e Classes pré-definidas', ), 'prev' => array ( 0 => 'generator.wakeup.php', 1 => 'Generator::__wakeup', ), 'next' => array ( 0 => 'fiber.construct.php', 1 => 'Fiber::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'language/predefined/fiber.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.fiber.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 8 >= 8.1.0)
Fibers representam funções interrompíveis de pilha completa. Fibers podem ser suspensas de qualquer lugar na pilha de chamadas, pausando a execução dentro de Fiber até que ela seja retomada posteriormente.