Current Location: Home> Function Categories> debug_print_backtrace

debug_print_backtrace

Print a traceback
Name:debug_print_backtrace
Category:Error handling
Programming Language:php
One-line Description:Print backtrace.

Definition and usage

debug_print_backtrace() function prints the PHP backtrace.

debug_print_backtrace() prints a PHP traceback. It prints the function call, the included/required file, and the code for eval().

grammar

 debug_print_backtrace ( options , limit ) ;
parameter describe
options

Optional. Specify the bitmask for the following parameters:

  • DEBUG_BACKTRACE_IGNORE_ARGS (Whether to ignore the index of "args" and include all function/method parameters, it can save memory overhead.)
limit Optional. Used to limit the number of returned stack frames. The default is (limit=0), returning all stack frames.
Similar Functions
Popular Articles