summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/array_walk_basic2.phpt
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-14 17:23:43 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-14 19:44:14 +0200
commit17ccbeec3242b80f84fbf6b3acd58421ef003b02 (patch)
tree8fed8d7515c6603fd4a50eb0f8177883bc6da336 /ext/standard/tests/array/array_walk_basic2.phpt
parentcc7215f48f66982f0b7799c47d8fa4c09a32a3c7 (diff)
downloadphp-git-17ccbeec3242b80f84fbf6b3acd58421ef003b02.tar.gz
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/standard/tests/array/array_walk_basic2.phpt')
-rw-r--r--ext/standard/tests/array/array_walk_basic2.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/tests/array/array_walk_basic2.phpt b/ext/standard/tests/array/array_walk_basic2.phpt
index 3ef15605e7..ee5b4e9925 100644
--- a/ext/standard/tests/array/array_walk_basic2.phpt
+++ b/ext/standard/tests/array/array_walk_basic2.phpt
@@ -3,7 +3,7 @@ Test array_walk() function : basic functionality - associative array
--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
*/
@@ -14,11 +14,11 @@ $fruits = array("d" => "lemon", "a" => "orange", "b" => "banana", "c" => "apple"
// User defined callback functions
/* Prototype : test_alter(mixed $item, mixed $key, string $prefix)
- * Parameters : item - value in key/value pair
+ * Parameters : item - value in key/value pair
* key - key in key/value pair
- * prefix - string to be added
+ * prefix - string to be added
* Description : alters the array values by appending prefix string
- */
+ */
function test_alter(&$item, $key, $prefix)
{
// dump the arguments to check that they are passed
@@ -30,7 +30,7 @@ function test_alter(&$item, $key, $prefix)
}
/* Prototype : test_print(mixed $item, mixed $key)
- * Parameters : item - value in key/value pair
+ * Parameters : item - value in key/value pair
* key - key in key/value pair
* Description : prints the array values with keys
*/