reference/array/functions/array-map.xml
e8c83816e0ca7a4136a5991b2227ddf00fa9adc6
...
...
@@ -17,7 +17,7 @@
17
17
<para>
18
18
<function>array_map</function> returns an &array; containing
19
19
the results of applying the <parameter>callback</parameter>
20
-
to the corresponding index of <parameter>array</parameter>
20
+
to the corresponding value of <parameter>array</parameter>
21
21
(and <parameter>arrays</parameter> if more arrays are provided)
22
22
used as arguments for the callback.
23
23
The number of parameters that the <parameter>callback</parameter>
...
...
@@ -71,7 +71,7 @@
71
71
&reftitle.returnvalues;
72
72
<para>
73
73
Returns an array containing the results of applying the <parameter>callback</parameter>
74
-
function to the corresponding index of <parameter>array</parameter>
74
+
function to the corresponding value of <parameter>array</parameter>
75
75
(and <parameter>arrays</parameter> if more arrays are provided)
76
76
used as arguments for the callback.
77
77
</para>
78
78