Throwable::getTrace

(PHP 7, PHP 8)

Throwable::getTrace — Gets the stack trace

Опис

public function Throwable::getTrace(): array

Returns the stack trace as an array.

Параметри

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

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

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

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