summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_walk_recursive_basic1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_walk_recursive_basic1.phpt')
-rw-r--r--ext/standard/tests/array/array_walk_recursive_basic1.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/array_walk_recursive_basic1.phpt b/ext/standard/tests/array/array_walk_recursive_basic1.phpt
index df192b6a79..606861565c 100644
--- a/ext/standard/tests/array/array_walk_recursive_basic1.phpt
+++ b/ext/standard/tests/array/array_walk_recursive_basic1.phpt
@@ -3,7 +3,7 @@ Test array_walk_recursive() function : basic functionality - regular array
--FILE--
<?php
/* Prototype : bool array_walk_recursive(array $input, string $funcname [, mixed $userdata])
- * Description: Apply a user function to every member of an array
+ * Description: Apply a user function to every member of an array
* Source code: ext/standard/array.c
*/
@@ -13,7 +13,7 @@ echo "*** Testing array_walk_recursive() : basic functionality ***\n";
$fruits = array("lemon", array("orange", "banana"), array("apple"));
/* Prototype : test_print(mixed $item, mixed $key)
- * Parameters : item - item in key/item pair
+ * Parameters : item - item in key/item pair
* key - key in key/item pair
* Description : prints the array values with keys
*/
@@ -21,16 +21,16 @@ function test_print($item, $key)
{
// dump the arguments to check that they are passed
// with proper type
- var_dump($item); // value
- var_dump($key); // key
+ var_dump($item); // value
+ var_dump($key); // key
echo "\n"; // new line to separate the output between each element
}
function with_userdata($item, $key, $user_data)
{
// dump the arguments to check that they are passed
// with proper type
- var_dump($item); // value
- var_dump($key); // key
+ var_dump($item); // value
+ var_dump($key); // key
var_dump($user_data); // user supplied data
echo "\n"; // new line to separate the output between each element
}