Disabled errors are still visible for the handler set via set_error_handler . So you can just add something like this to your bootstrap file:
set_error_handler(function ($errno, $errstr, $errfile, $errline) { echo "$errstr at $errfile($errline)\n"; });
or better
set_error_handler(function ($errno, $errstr, $errfile, $errline) { throw new ErrorException($errstr, $errno, 1, $errfile, $errline); });
which also displays the stack.
georg
source share