From be10050d8fd5d5db8c2438f4f0242f83b42230e2 Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 30 Jul 2005 13:37:57 +0000 Subject: [PATCH] Added test for bug #25359 --- ext/standard/tests/array/bug25359.phpt | 32 ++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ext/standard/tests/array/bug25359.phpt diff --git a/ext/standard/tests/array/bug25359.phpt b/ext/standard/tests/array/bug25359.phpt new file mode 100644 index 0000000000..0b9b89a70e --- /dev/null +++ b/ext/standard/tests/array/bug25359.phpt @@ -0,0 +1,32 @@ +--TEST-- +Bug #25359 (array_multisort() does not work in a function if array is global or reference) +--FILE-- + +--EXPECT-- +array(5) { + [0]=> + string(5) "first" + [1]=> + string(6) "second" + [2]=> + string(5) "third" + [3]=> + string(5) "forth" + [4]=> + string(5) "fifth" +} -- 2.50.1