From 6d3254ed432abc7c31ed55de119a67d126b2116a Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Mon, 1 Apr 2019 19:15:50 +0000 Subject: [PATCH] Fix Doc Bug #70655 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347117 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-map.xml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/reference/array/functions/array-map.xml b/reference/array/functions/array-map.xml index 0eef1ec957..04ed72efd3 100644 --- a/reference/array/functions/array-map.xml +++ b/reference/array/functions/array-map.xml @@ -15,13 +15,14 @@ array... - array_map returns an array containing all - the elements of array1 after applying the - callback function to each one. + array_map returns an array containing + the results of applying the callback + function to the corresponding index of array1 + (and ... if more arrays are provided) + used as arguments for the callback. The number of parameters that the callback - function accepts - should match the number of arrays - passed to the array_map + function accepts should match the number of arrays + passed to array_map. @@ -49,7 +50,7 @@ ... - Variable list of array arguments to run through the + Supplementary variable list of array arguments to run through the callback function. @@ -61,8 +62,10 @@ &reftitle.returnvalues; - Returns an array containing all the elements of array1 - after applying the callback function to each one. + Returns an array containing the results of applying the callback + function to the corresponding index of array1 + (and ... if more arrays are provided) + used as arguments for the callback.