summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2015-03-22 00:17:33 +0100
committerBob Weinand <bobwei9@hotmail.com>2015-03-22 00:17:33 +0100
commitd4da7c20d2d642a6f0f81bde836576b9970969af (patch)
tree704b8f65ac12afabd274f8fb090f6d5ca485989f /Zend/zend_API.h
parente874f76096a346c5ee073c8aaf252d916f3be925 (diff)
downloadphp-git-d4da7c20d2d642a6f0f81bde836576b9970969af.tar.gz
Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index bd90e953fe..d97b3760de 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -757,7 +757,7 @@ ZEND_API void ZEND_FASTCALL zend_wrong_callback_error(int severity, int num, cha
if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \
if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \
if (error_code == ZPP_ERROR_WRONG_CALLBACK) { \
- zend_wrong_callback_error(E_WARNING, _i, _error); \
+ zend_wrong_callback_error(E_ERROR | E_EXCEPTION, _i, _error); \
} else if (error_code == ZPP_ERROR_WRONG_CLASS) { \
zend_wrong_paramer_class_error(_i, _error, _arg); \
} else if (error_code == ZPP_ERROR_WRONG_ARG) { \