array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'fiber.isrunning.php', 1 => 'Fiber::isRunning', ), 'up' => array ( 0 => 'class.fiber.php', 1 => 'Fiber', ), 'prev' => array ( 0 => 'fiber.issuspended.php', 1 => 'Fiber::isSuspended', ), 'next' => array ( 0 => 'fiber.isterminated.php', 1 => 'Fiber::isTerminated', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/fiber/isrunning.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 8 >= 8.1.0)
Fiber::isRunning — Determines if the fiber is running
This function has no parameters.
Returns true
only if the fiber is running. A fiber is considered running after a call to
Fiber::start(), Fiber::resume(), or
Fiber::throw() that has not yet returned.
Return false
if the fiber is not running.