Added check whether the error reporting has been suppressed with @ operator before throwing the error.
Added check whether the error reporting has been suppressed with @ operator before throwing the error.

error_reporting() returns 0 if the error was suppressed. I've also added additional check so that no fatal errors (E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR) would be suppressed.

Why is this needed: http://doophp.com/forum/viewtopic.php?f=9&t=1636
google-code-export/doophp,qs9816/doophp,drupalik/doophp,google-code-export/doophp,qs9816/doophp,phpzxh/doophp,drupalik/doophp,phpzxh/doophp,drupalik/doophp,google-code-export/doophp,phpzxh/doophp,qs9816/doophp