summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_walk_rec_objects.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_walk_rec_objects.phpt')
-rw-r--r--ext/standard/tests/array/array_walk_rec_objects.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/array/array_walk_rec_objects.phpt b/ext/standard/tests/array/array_walk_rec_objects.phpt
index bbd30f37f0..14174f4f34 100644
--- a/ext/standard/tests/array/array_walk_rec_objects.phpt
+++ b/ext/standard/tests/array/array_walk_rec_objects.phpt
@@ -3,8 +3,8 @@ array_walk_recursive() and objects
--FILE--
<?php
-function walk($key, $value) {
- var_dump($value, $key);
+function walk($key, $value) {
+ var_dump($value, $key);
}
class test {
@@ -28,7 +28,7 @@ array_walk_recursive($var, "walk");
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
%unicode|string%(3) "foo"
%unicode|string%(3) "foo"
%unicode|string%(3) "bar"