summaryrefslogtreecommitdiff
path: root/ext/reflection
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-09-09 11:36:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-09-09 11:36:38 +0200
commitd37d2228353ff152245efde193f1fde0857ecaea (patch)
tree62edccea7d5e46b8429a781d7a3580cfe99245fe /ext/reflection
parent0222204e7fc532a5710fbe823df562cb287ca39c (diff)
downloadphp-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.phpt10
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