array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'reflectionfiber.gettrace.php', 1 => 'ReflectionFiber::getTrace', 2 => 'Get the backtrace of the current execution point', ), 'up' => array ( 0 => 'class.reflectionfiber.php', 1 => 'ReflectionFiber', ), 'prev' => array ( 0 => 'reflectionfiber.getfiber.php', 1 => 'ReflectionFiber::getFiber', ), 'next' => array ( 0 => 'class.reflectionintersectiontype.php', 1 => 'ReflectionIntersectionType', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/reflection/reflectionfiber/gettrace.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

ReflectionFiber::getTrace

(PHP 8 >= 8.1.0)

ReflectionFiber::getTraceGet the backtrace of the current execution point

Beschreibung

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

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

Parameter-Liste

options

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

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

Rückgabewerte

The backtrace of the current execution point in the fiber.