Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
Reflection
Examples
Extending
Reflection
ReflectionClass
ReflectionClassConstant
ReflectionConstant
ReflectionEnum
ReflectionEnumUnitCase
ReflectionEnumBackedCase
ReflectionZendExtension
ReflectionExtension
ReflectionFunction
ReflectionFunctionAbstract
ReflectionMethod
ReflectionNamedType
ReflectionObject
ReflectionParameter
ReflectionProperty
ReflectionType
ReflectionUnionType
ReflectionGenerator
ReflectionFiber
ReflectionIntersectionType
ReflectionReference
ReflectionAttribute
Reflector
ReflectionException
PropertyHookType
ReflectionGenerator::isClosed
ReflectionFiber::__construct
Reflection
Last updated: Mon, 26 Oct 2026
The ReflectionFiber class
(PHP 8 >= 8.1.0)
Introduction
Class synopsis
final
class
ReflectionFiber
{
/* Methods */
public
function
__construct
(
Fiber
$fiber
)
public
function
getCallable
():
callable
public
function
getExecutingFile
():
?
string
public
function
getExecutingLine
():
?
int
public
function
getFiber
():
Fiber
public
function
getTrace
(
int
$options
=
DEBUG_BACKTRACE_PROVIDE_OBJECT
):
array
}
Table of Contents
ReflectionFiber::__construct
— Constructs a ReflectionFiber object
ReflectionFiber::getCallable
— Gets the callable used to create the Fiber
ReflectionFiber::getExecutingFile
— Get the file name of the current execution point
ReflectionFiber::getExecutingLine
— Get the line number of the current execution point
ReflectionFiber::getFiber
— Get the reflected Fiber instance
ReflectionFiber::getTrace
— Get the backtrace of the current execution point
ReflectionGenerator::isClosed
ReflectionFiber::__construct
Reflection
Last updated: Mon, 26 Oct 2026