From: Marcus Boerger Date: Wed, 23 Mar 2005 07:54:22 +0000 (+0000) Subject: - Notices shouldn't be treatedas errors and thus not being conidered to be X-Git-Tag: php-5.0.1b1~703 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15ed825d6e4e072c4b2cb895147b049b0487aaac;p=php - Notices shouldn't be treatedas errors and thus not being conidered to be converted to exceptions. --- diff --git a/main/main.c b/main/main.c index 3332ad52e8..715b8e5da6 100644 --- a/main/main.c +++ b/main/main.c @@ -657,6 +657,10 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ case E_PARSE: /* fatal errors are real errors and cannot be made exceptions */ break; + case E_NOTICE: + case E_USER_NOTICE: + /* notices are no errors and are not treated as such like E_WARNIGNS */ + break; default: /* throw an exception if we are in EH_THROW mode * but DO NOT overwrite a pending excepption