summaryrefslogtreecommitdiff
path: root/Zend/zend.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend.c')
-rw-r--r--Zend/zend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c
index fe0070d4aa..e8f0553c22 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -65,7 +65,7 @@ static int (*zend_get_configuration_directive_p)(char *name, uint name_length, z
static ZEND_INI_MH(OnUpdateErrorReporting)
{
if (!new_value) {
- EG(error_reporting) = E_ALL & ~E_NOTICE;
+ EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT;
} else {
EG(error_reporting) = atoi(new_value);
}
@@ -863,6 +863,7 @@ ZEND_API void zend_error(int type, const char *format, ...)
case E_COMPILE_WARNING:
case E_ERROR:
case E_NOTICE:
+ case E_STRICT:
case E_WARNING:
case E_USER_ERROR:
case E_USER_WARNING: