summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2019-11-01 13:19:52 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2019-11-01 16:47:15 +0100
commit4008704f62c849d689fe6bfec07ea3f1a9faf903 (patch)
tree24cf0b6fa831eb2fa858fa02ccafc2552a82cb63 /ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
parent2204dbde3bcdd6b6e8490cf74418e9e06dcc7f7a (diff)
downloadphp-git-4008704f62c849d689fe6bfec07ea3f1a9faf903.tar.gz
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.
Diffstat (limited to 'ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp')
-rw-r--r--ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
index 31839d6679..f90766206e 100644
--- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
+++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
@@ -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;
}