Commit 77c2632b authored by Dries's avatar Dries

- Patch #99625: enable E_ALL mode.

parent 6a1a93ce
......@@ -543,7 +543,7 @@ function error_handler($errno, $message, $filename, $line) {
return;
}
if ($errno & (E_ALL ^ E_NOTICE)) {
if ($errno & (E_ALL)) {
$types = array(1 => 'error', 2 => 'warning', 4 => 'parse error', 8 => 'notice', 16 => 'core error', 32 => 'core warning', 64 => 'compile error', 128 => 'compile warning', 256 => 'user error', 512 => 'user warning', 1024 => 'user notice', 2048 => 'strict warning');
$entry = $types[$errno] .': '. $message .' in '. $filename .' on line '. $line .'.';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment