CascadiaPHP 2024

ReflectionFiber::getTrace

(PHP 8 >= 8.1.0)

ReflectionFiber::getTraceGet the backtrace of the current execution point

Açıklama

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

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

Bağımsız Değişkenler

options

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

Available options
Option Açıklama
DEBUG_BACKTRACE_PROVIDE_OBJECT Default.
DEBUG_BACKTRACE_IGNORE_ARGS Don't include the argument information for functions in the stack trace.

Dönen Değerler

The backtrace of the current execution point in the fiber.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top