Throwable::getTrace
PHP function
Edit on GitHub ✎
(PHP 7, PHP 8)
Gets the stack trace
Description
Throwable::getTrace(): array
Returns the stack trace as an array.
Parameters Parameters
Return Values
Returns the stack trace as an array in the same format as debug_backtrace().
See Also
Exception::getTrace