mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
zend_parse_parameters_throw() is obsolete
Since `zend_parse_parameters()` throws now, there is no reason to explicitly call `zend_parse_parameters_throw()` anymore, and since both have actually the same implementation, we redefine the latter as macro.
This commit is contained in:
parent
2204dbde3b
commit
4008704f62
25 changed files with 116 additions and 129 deletions
|
@ -39,7 +39,7 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
|
|||
UErrorCode status = U_ZERO_ERROR;
|
||||
intl_error_reset(NULL);
|
||||
|
||||
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|b",
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|b",
|
||||
&rules, &rules_len, &compiled) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue