diff options
author | Marcus Boerger <helly@php.net> | 2008-02-23 17:06:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-02-23 17:06:22 +0000 |
commit | d3e50265643fc59c2b5c99ef4ac79e758a6d9839 (patch) | |
tree | d8e4f0da41e03fd9e59892e12836ed81130a65fe /Zend/zend.c | |
parent | 6c5041979c9b0f9f05ac92427da53b60f6f6e7c3 (diff) | |
download | php-git-d3e50265643fc59c2b5c99ef4ac79e758a6d9839.tar.gz |
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 69764c562a..9f9f496572 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -66,7 +66,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 & ~E_STRICT; + EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; } else { EG(error_reporting) = atoi(new_value); } @@ -974,6 +974,7 @@ ZEND_API void zend_error(int type, const char *format, ...) /* {{{ */ case E_ERROR: case E_NOTICE: case E_STRICT: + case E_DEPRECATED: case E_WARNING: case E_USER_ERROR: case E_USER_WARNING: |