array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'reflectionfiber.getcallable.php', 1 => 'ReflectionFiber::getCallable', 2 => 'Gets the callable used to create the Fiber', ), 'up' => array ( 0 => 'class.reflectionfiber.php', 1 => 'ReflectionFiber', ), 'prev' => array ( 0 => 'reflectionfiber.construct.php', 1 => 'ReflectionFiber::__construct', ), 'next' => array ( 0 => 'reflectionfiber.getexecutingfile.php', 1 => 'ReflectionFiber::getExecutingFile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionfiber/getcallable.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ReflectionFiber::getCallable

(PHP 8 >= 8.1.0)

ReflectionFiber::getCallableGets the callable used to create the Fiber

说明

public ReflectionFiber::getCallable(): callable

Returns the callable used to construct the Fiber. If the fiber has terminated, an Error is thrown.

参数

此函数没有参数。

返回值

The callable used to create the Fiber.