diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-11-01 13:19:52 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-11-01 16:47:15 +0100 |
commit | 4008704f62c849d689fe6bfec07ea3f1a9faf903 (patch) | |
tree | 24cf0b6fa831eb2fa858fa02ccafc2552a82cb63 /ext/spl/spl_fixedarray.c | |
parent | 2204dbde3bcdd6b6e8490cf74418e9e06dcc7f7a (diff) | |
download | php-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.c | 2 |
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; } |