PHP 8.0.0 Beta 4 available for testing


(PHP 7)

Throwable::getTraceGets the stack trace


abstract public Throwable::getTrace ( void ) : array

Returns the stack trace as an array.


This function has no parameters.

Return Values

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

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top