]> granicus.if.org Git - php/commit
Make array_multisort() signature more variadic
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 9 Sep 2020 09:36:38 +0000 (11:36 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 9 Sep 2020 09:36:38 +0000 (11:36 +0200)
commitd37d2228353ff152245efde193f1fde0857ecaea
tree62edccea7d5e46b8429a781d7a3580cfe99245fe
parent0222204e7fc532a5710fbe823df562cb287ca39c
Make array_multisort() signature more variadic

The second and third arguments are not always the sort_order and
sort_flags -- they can also be in reverse order, or be arrays
altogether. Move them into the variadic parameter to avoid awkward
error messages.
ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt
ext/standard/basic_functions.stub.php
ext/standard/basic_functions_arginfo.h
ext/standard/tests/array/array_multisort_error.phpt
ext/standard/tests/array/array_multisort_variation2.phpt
ext/standard/tests/array/array_multisort_variation3.phpt