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
 
<ReflectionFiber::getFiberReflectionIntersectionType>
^ReflectionFiberLast updated: Mon, 26 Oct 2026

ReflectionFiber::getTrace

(PHP 8 >= 8.1.0)

ReflectionFiber::getTrace — Get the backtrace of the current execution point

Description

public function ReflectionFiber::getTrace(int $options = DEBUG_BACKTRACE_PROVIDE_OBJECT): array

Get the backtrace of the current execution point in the reflected Fiber.

Parameters

options

The value of options can be any of the following flags.

Available options
Option Description
DEBUG_BACKTRACE_PROVIDE_OBJECT Default.
DEBUG_BACKTRACE_IGNORE_ARGS Don't include the argument information for functions in the stack trace.

Return Values

The backtrace of the current execution point in the fiber.


<ReflectionFiber::getFiberReflectionIntersectionType>
^ReflectionFiberLast updated: Mon, 26 Oct 2026