mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MFH: Added new macro for check void parameters.
(deprecating ZEND_WRONG_PARAM_COUNT for this cases)
This commit is contained in:
parent
725b31fc6c
commit
cc2b17d51d
3 changed files with 14 additions and 13 deletions
|
@ -182,8 +182,8 @@ ZEND_METHOD(error_exception, __construct)
|
|||
/* }}} */
|
||||
|
||||
#define DEFAULT_0_PARAMS \
|
||||
if (ZEND_NUM_ARGS() > 0) { \
|
||||
ZEND_WRONG_PARAM_COUNT(); \
|
||||
if (zend_parse_parameters_none() == FAILURE) { \
|
||||
return; \
|
||||
}
|
||||
|
||||
static void _default_exception_get_entry(zval *object, char *name, int name_len, zval *return_value TSRMLS_DC) /* {{{ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue