HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Exception Reference : Output the stack trace
The getTraceAsString()
method returns a stack trace in the form of a string.
Stack traces contain information about all of the functions that are running at a given moment. The stack trace provided by this method has information about the stack at the time that the exception was thrown.
Return Value: | Returns a stack trace in the form of a string |
---|
Read more about Exceptions in our PHP Exceptions Chapter.
PHP Reference: The getTrace() Method.
❮ PHP Exception Reference