Hey, I recently had the pleasure of speaking with Alex, a highly experienced Italian PHP developer who helps companies develop and maintain their PHP applications. I hope it will be useful for you to better understand some technical details about PHP.
In fact, I’m going to show you exactly how to: Display PHP errors and warnings Debug variables and functions Save debugging logs to the database or to a file Send debug data to an email address
In this tutorial you are going to learn some quick & easy debugging techniques, including: Using PHP error reporting Debugging your script variables Getting function call backtraces Logging your debug data
This is the output from debug_backtrace(): Array ( => Array ([file] => C:\xampp\htdocs\test.php [line] => 15 [function] => f3 [args] => Array ( => 6 )