summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_walk_variation6.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/array_walk_variation6.phpt')
-rw-r--r--ext/standard/tests/array/array_walk_variation6.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/array_walk_variation6.phpt b/ext/standard/tests/array/array_walk_variation6.phpt
index c1f23233ec..5b5711c647 100644
--- a/ext/standard/tests/array/array_walk_variation6.phpt
+++ b/ext/standard/tests/array/array_walk_variation6.phpt
@@ -3,12 +3,12 @@ Test array_walk() function : usage variations - 'input' argument as diff. associ
--FILE--
<?php
/* Prototype : bool array_walk(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
*/
/*
- * Passing 'input' argument as an associative array
+ * Passing 'input' argument as an associative array
* with Numeric & string keys
*/
@@ -16,14 +16,14 @@ echo "*** Testing array_walk() : 'input' as an associative array ***\n";
// callback functions
/* Prototype : for_numeric( int $value, int $key, int $user_data)
- * Parameters : $value - value from key/value pair of the array
+ * Parameters : $value - value from key/value pair of the array
* $key - key from key/value pair of the array
* $user_data - data to be added to 'value'
* Description : Function adds values with keys & user_data
*/
function for_numeric($value, $key, $user_data)
{
- // dump the input values to see if they are
+ // dump the input values to see if they are
// passed with correct type
var_dump($key);
var_dump($value);
@@ -38,7 +38,7 @@ function for_numeric($value, $key, $user_data)
*/
function for_string($value, $key)
{
- // dump the input values to see if they are
+ // dump the input values to see if they are
// passed with correct type
var_dump($key);
var_dump($value);
@@ -52,7 +52,7 @@ function for_string($value, $key)
*/
function for_mixed($value, $key)
{
- // dump the input values to see if they are
+ // dump the input values to see if they are
// passed with correct type
var_dump($key);
var_dump($value);