From: Marcus Boerger Date: Wed, 23 Mar 2005 07:57:17 +0000 (+0000) Subject: - MFH Notices shouldn't be treatedas errors and thus not being conidered to X-Git-Tag: php-5.0.4RC2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d56d1de230977ca7e92f28e33a4966f50144adf8;p=php - MFH 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 e65f8bd03a..28dbdc265a 100644 --- a/main/main.c +++ b/main/main.c @@ -660,6 +660,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