PHP debug_backtrace library method

The PHP debug_backtrace() function is used to generate a backtrace and it returns the associative array with the information about where the call was initially triggered from the main source.