summaryrefslogtreecommitdiff
path: root/ext/spl/spl_fixedarray.c
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/spl/spl_fixedarray.c
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/spl/spl_fixedarray.c')
-rw-r--r--ext/spl/spl_fixedarray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c
index 52d48374df..8c579b6cfb 100644
--- a/ext/spl/spl_fixedarray.c
+++ b/ext/spl/spl_fixedarray.c
@@ -545,7 +545,7 @@ SPL_METHOD(SplFixedArray, __construct)
spl_fixedarray_object *intern;
zend_long size = 0;
- if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "|l", &size) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &size) == FAILURE) {
return;
}