The debug_print_backtrace() function prints a PHP backtrace.
This function displays data from the code that led up to the debug_print_backtrace() function.
options - Optional. Specifies a bitmask for the following option: DEBUG_BACKTRACE_IGNORE_ARGS (Whether or not to omit the "args" index, and all the function/method arguments, to save memory)
limit - Optional. Limits the number of stack frames printed. By default (limit=0) it prints all stack frames
Example Code :
OutPut :