mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Delay EG(exception) check on slow path
This commit is contained in:
parent
d90cdbd9df
commit
9a833438d1
2 changed files with 31 additions and 7 deletions
|
@ -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); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue