diff options
author | Marcus Boerger <helly@php.net> | 2005-08-16 18:10:34 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2005-08-16 18:10:34 +0000 |
commit | e8b05734bec739a8037f44a0bae458e06b23225b (patch) | |
tree | f0083795689e65b6780b8887f142df1abcb8d72e /main | |
parent | 5610ad29e37324cd0a4bdf7663564945e6b66f18 (diff) | |
download | php-git-e8b05734bec739a8037f44a0bae458e06b23225b.tar.gz |
- Prevent E_STRICT from ending up as exception
Diffstat (limited to 'main')
-rw-r--r-- | main/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c index 71bcd366cb..4e1a09009d 100644 --- a/main/main.c +++ b/main/main.c @@ -657,6 +657,9 @@ 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_STRICT: + /* for the sake of BC to old damaged code */ + break; case E_NOTICE: case E_USER_NOTICE: /* notices are no errors and are not treated as such like E_WARNINGS */ |