diff options
author | Marcus Boerger <helly@php.net> | 2005-03-23 07:54:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-03-23 07:54:22 +0000 |
commit | 15ed825d6e4e072c4b2cb895147b049b0487aaac (patch) | |
tree | 9fc6d46785834bed690e32cd28417444aac32dd5 | |
parent | 4ecbf1792b8a8677c0ae160e7f95f20eb01924fe (diff) | |
download | php-git-15ed825d6e4e072c4b2cb895147b049b0487aaac.tar.gz |
- Notices shouldn't be treatedas errors and thus not being conidered to be
converted to exceptions.
-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 |