Throwable::getTrace

(PHP 7, PHP 8)

Throwable::getTraceGets the stack trace

Опис

public Throwable::getTrace(): array

Returns the stack trace as an array.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the stack trace as an array in the same format as debug_backtrace().

Прогляньте також