array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'throwable.gettrace.php', 1 => 'Throwable::getTrace', 2 => 'Gets the stack trace', ), 'up' => array ( 0 => 'class.throwable.php', 1 => 'Throwable', ), 'prev' => array ( 0 => 'throwable.getline.php', 1 => 'Throwable::getLine', ), 'next' => array ( 0 => 'throwable.gettraceasstring.php', 1 => 'Throwable::getTraceAsString', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'language/predefined/throwable/gettrace.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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().

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