summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-07-08 13:56:34 +0300
committerDmitry Stogov <dmitry@zend.com>2019-07-08 13:56:34 +0300
commit9a833438d184bcc7198c609117b27a321f20d22c (patch)
tree5a95fa4ee162ed8902b4af06851a8878eb111070 /Zend/zend_API.h
parentd90cdbd9df42c3d012af23a64fb3062f0af60efa (diff)
downloadphp-git-9a833438d184bcc7198c609117b27a321f20d22c.tar.gz
Delay EG(exception) check on slow path
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 ddf8fbfc74..e78ba92595 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -1184,7 +1184,7 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_exception(int num, cha
#define ZEND_PARSE_PARAMETERS_END_EX(failure) \
} while (0); \
if (UNEXPECTED(_error_code != ZPP_ERROR_OK)) { \
- if (!(_flags & ZEND_PARSE_PARAMS_QUIET) && !EG(exception)) { \
+ if (!(_flags & ZEND_PARSE_PARAMS_QUIET)) { \
if (_error_code == ZPP_ERROR_WRONG_CALLBACK) { \
if (_flags & ZEND_PARSE_PARAMS_THROW) { \
zend_wrong_callback_exception(_i, _error); \