diff options
author | Dmitry Stogov <dmitry@zend.com> | 2021-02-24 19:13:11 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2021-02-24 19:13:11 +0300 |
commit | 5caf29a01e8498ecf3cfabceee8cf60a0fd39eb8 (patch) | |
tree | 90d7c6fffb6026367bb1406aeda167b9b6a9219a /ext/spl/php_spl.c | |
parent | 99d0f502dcde51b0a5e96d8f4267d60ed78b8e2b (diff) | |
download | php-git-5caf29a01e8498ecf3cfabceee8cf60a0fd39eb8.tar.gz |
Switch few functions useful in Symphony apps to new ZPP API.
Diffstat (limited to 'ext/spl/php_spl.c')
-rw-r--r-- | ext/spl/php_spl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 67f87774a0..5981d2385f 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -569,9 +569,9 @@ PHP_FUNCTION(spl_autoload_unregister) zend_fcall_info fci; zend_fcall_info_cache fcc; - if (zend_parse_parameters(ZEND_NUM_ARGS(), "f", &fci, &fcc) == FAILURE) { - RETURN_THROWS(); - } + ZEND_PARSE_PARAMETERS_START(1, 1) + Z_PARAM_FUNC(fci, fcc) + ZEND_PARSE_PARAMETERS_END(); if (fcc.function_handler && zend_string_equals_literal( fcc.function_handler->common.function_name, "spl_autoload_call")) { |