略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ReflectionFiber::getTrace

2025-02-27

ReflectionFiber::getTrace

(PHP 8 >= 8.1.0)

ReflectionFiber::getTraceGet the backtrace of the current execution point

说明

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

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

参数

options

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

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

返回值

The backtrace of the current execution point in the fiber.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/reflectionfiber.gettrace.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3