mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
FAST_ZPP variant of zend_parse_parameters_none(), ZEND_PARSE_PARAMETERS_NONE()
This commit is contained in:
parent
ad698adddf
commit
67be32ced9
1 changed files with 4 additions and 0 deletions
|
@ -762,6 +762,10 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(zend_bool throw_
|
||||||
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args) \
|
#define ZEND_PARSE_PARAMETERS_START(min_num_args, max_num_args) \
|
||||||
ZEND_PARSE_PARAMETERS_START_EX(0, min_num_args, max_num_args)
|
ZEND_PARSE_PARAMETERS_START_EX(0, min_num_args, max_num_args)
|
||||||
|
|
||||||
|
#define ZEND_PARSE_PARAMETERS_NONE() \
|
||||||
|
ZEND_PARSE_PARAMETERS_START(0, 0) \
|
||||||
|
ZEND_PARSE_PARAMETERS_END()
|
||||||
|
|
||||||
#define ZEND_PARSE_PARAMETERS_END_EX(failure) \
|
#define ZEND_PARSE_PARAMETERS_END_EX(failure) \
|
||||||
} while (0); \
|
} while (0); \
|
||||||
if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \
|
if (UNEXPECTED(error_code != ZPP_ERROR_OK)) { \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue