]> granicus.if.org Git - php/commitdiff
Eliminate useless separations
authorDmitry Stogov <dmitry@zend.com>
Wed, 17 Jan 2018 11:11:40 +0000 (14:11 +0300)
committerDmitry Stogov <dmitry@zend.com>
Wed, 17 Jan 2018 11:11:40 +0000 (14:11 +0300)
ext/standard/basic_functions.c

index 2ae5cfb2593160e42f59b89a9d1d52b393953caf..60dbf1391cef4e1ed6299af78dc892a0fe25bbf6 100644 (file)
@@ -4915,7 +4915,7 @@ PHP_FUNCTION(call_user_func_array)
 
        ZEND_PARSE_PARAMETERS_START(2, 2)
                Z_PARAM_FUNC(fci, fci_cache)
-               Z_PARAM_ARRAY_EX(params, 0, 1)
+               Z_PARAM_ARRAY(params)
        ZEND_PARSE_PARAMETERS_END();
 
        zend_fcall_info_args(&fci, params);
@@ -4979,7 +4979,7 @@ PHP_FUNCTION(forward_static_call_array)
 
        ZEND_PARSE_PARAMETERS_START(2, 2)
                Z_PARAM_FUNC(fci, fci_cache)
-               Z_PARAM_ARRAY_EX(params, 0, 1)
+               Z_PARAM_ARRAY(params)
        ZEND_PARSE_PARAMETERS_END();
 
        zend_fcall_info_args(&fci, params);