For example, in my error_log, it says something like:
Error... require, include, a_function, another_function
Basically it tracks each step of the program. I want to implement something like this for debugging purposes. How do I “track” the execution of the program in PHP?
You need debug_backtrace() and custom error handler