ReflectionFiber::getTrace
(PHP 8 >= 8.1.0)
ReflectionFiber::getTrace — Get the backtrace of the current execution point
Description
$options = DEBUG_BACKTRACE_PROVIDE_OBJECT): arrayGet the backtrace of the current execution point in the reflected Fiber.
Parameters
-
options -
The value of
optionscan be any of the following flags.Available options Option Description DEBUG_BACKTRACE_PROVIDE_OBJECTDefault. DEBUG_BACKTRACE_IGNORE_ARGSDon't include the argument information for functions in the stack trace.
Return Values
The backtrace of the current execution point in the fiber.

