From d4da7c20d2d642a6f0f81bde836576b9970969af Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sun, 22 Mar 2015 00:17:33 +0100 Subject: [PATCH] Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too --- Zend/zend_API.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { \ -- 2.50.1