array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'reflectionfiber.getexecutingline.php', 1 => 'ReflectionFiber::getExecutingLine', 2 => 'Get the line number of the current execution point', ), 'up' => array ( 0 => 'class.reflectionfiber.php', 1 => 'ReflectionFiber', ), 'prev' => array ( 0 => 'reflectionfiber.getexecutingfile.php', 1 => 'ReflectionFiber::getExecutingFile', ), 'next' => array ( 0 => 'reflectionfiber.getfiber.php', 1 => 'ReflectionFiber::getFiber', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionfiber/getexecutingline.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 8 >= 8.1.0)
ReflectionFiber::getExecutingLine — Get the line number of the current execution point
Returns the line number of the current execution point in the reflected Fiber.
If the reflected fiber is used outside a user-defined function, null is returned.
If the fiber has not been started or has terminated, an Error is thrown.
У цієї функції немає параметрів.
The line number of the current execution point in the fiber.