auto execute a function at the end of functions in PHP
Hi, i'm looking to call a custom error log/debug function at the end of each function. example: i want to call error_log(__METHOD__); I want to echo $query; show execution time etc.. at the end of every function for debug purposes without having to call that customized function every time. much appreciated. ...