Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP debug_print_backtrace() Function

PHP debug_print_backtrace() Function


PHP Error Reference Manual 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]


PHP Error Reference Manual Complete PHP Error Reference Manual