array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'fiber.getcurrent.php', 1 => 'Fiber::getCurrent', ), 'up' => array ( 0 => 'class.fiber.php', 1 => 'Fiber', ), 'prev' => array ( 0 => 'fiber.suspend.php', 1 => 'Fiber::suspend', ), 'next' => array ( 0 => 'class.weakreference.php', 1 => 'WeakReference', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ru', 'path' => 'language/predefined/fiber/getcurrent.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 8 >= 8.1.0)
Fiber::getCurrent — Получает текущий выполняющийся экземпляр Fiber
У этой функции нет параметров.