Skip to content

Commit 1f5bcc3

Browse files
array-map.xml Change the misleading wording (#4802)
* array-map.xml Change the misleading wording Keys of input arrays are ignored. The function only considers the sequential order of elements (as determined by their internal pointers), not their indices * Update reference/array/functions/array-map.xml Co-authored-by: Kamil Tekiela <tekiela246@gmail.com> --------- Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent eac9eff commit 1f5bcc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/array/functions/array-map.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
<para>
4242
&null; can be passed as a value to <parameter>callback</parameter>
4343
to perform a zip operation on multiple arrays and return an array
44-
whose elements are each an array holding the elements of the input arrays of the same index (see example below).
44+
where each element is an array containing the elements from the input arrays at the
45+
same position of the internal array pointer (see example below).
4546
If only <parameter>array</parameter> is provided,
4647
<methodname>array_map</methodname> will return the input array.
4748
</para>

0 commit comments

Comments
 (0)