diff options
Diffstat (limited to 'main/main.c')
-rw-r--r-- | main/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |