PHP debug_print_backtrace() Function
Complete PHP Error Reference Manual
Definition and Usage
The debug_print_backtrace() function prints a backtrace.
This function displays the data generated by the debug_print_backtrace() function code.
Syntax
debug_print_backtrace()
Example
The output of the code above is shown below:
#0 three(Cleveland, Brown) called at [C:webfoldertest.php:8]
#1 two(Glenn, Quagmire) called at [C:webfoldertest.php:4]
#2 one(Peter, Griffin) called at [C:webfoldertest.php:15]
Complete PHP Error Reference Manual