I\'m taking the leap: my PHP scripts will ALL fail gracefully!
At least, that\'s what I\'m hoping for...`
I don\'t want to wrap (practically) every single line i
I guess you needs to use register_shutdown_function also
register_shutdown_function
For example:
register_shutdown_function( array( $this, 'customError' ));. function customError() { $arrStrErrorInfo = error_get_last(); print_r( $arrStrErrorInfo ); }