com php-src: Use E_ERROR | E_EXCEPTION in FAST_ ZPP mode too: Zend/zend_API.h
| From: | Bob Weinand | Date: | Sat, 21 Mar 2015 23:17:33 +0000 |
| Subject: | com php-src: Use E_ERROR | E_EXCEPTION in FAST_ ZPP mode too: Zend/zend_API.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85760@lists.php.net to get a copy of this message | ||
Commit: d4da7c20d2d642a6f0f81bde836576b9970969af
Author: Bob Weinand <bobwei9@hotmail.com> Sun, 22 Mar 2015 00:17:33 +0100
Parents: e874f76096a346c5ee073c8aaf252d916f3be925
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d4da7c20d2d642a6f0f81bde836576b9970969af
Log:
Use E_ERROR | E_EXCEPTION in FAST_ZPP mode too
Changed paths:
M Zend/zend_API.h
Diff:
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index bd90e95..d97b376 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) { \