JosephLenton / PHP-Error

Better error reporting for PHP, and prettier too!
1.35k stars 151 forks source link

Add new functionnality #85

Closed silverpark closed 10 years ago

silverpark commented 10 years ago

When I add for example a caracter like "d" in my code, the php error is not catch.

Can you add the new functionnality for catch this syntax error ?

snapshotpl commented 10 years ago

http://php.net/manual/en/function.set-error-handler.php

The following error types cannot be handled with a user defined function: E_ERROR, E_PARSE, E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and most of E_STRICT raised in the file where set_error_handler() is called.

silverpark commented 10 years ago

thank you