diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-09 11:36:38 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-09 11:36:38 +0200 |
commit | d37d2228353ff152245efde193f1fde0857ecaea (patch) | |
tree | 62edccea7d5e46b8429a781d7a3580cfe99245fe /ext/reflection | |
parent | 0222204e7fc532a5710fbe823df562cb287ca39c (diff) | |
download | php-git-d37d2228353ff152245efde193f1fde0857ecaea.tar.gz |
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.
Diffstat (limited to 'ext/reflection')
-rw-r--r-- | ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt b/ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt index c5a7b72714..c7f823e423 100644 --- a/ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt +++ b/ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt @@ -41,15 +41,7 @@ Name: array1 Is passed by reference: yes Can be passed by value: yes -Name: sort_order -Is passed by reference: yes -Can be passed by value: yes - -Name: sort_flags -Is passed by reference: yes -Can be passed by value: yes - -Name: arrays +Name: rest Is passed by reference: yes Can be passed by value: yes |