From d2f1a97cc417f24c4c69594ddec8f58051a61b22 Mon Sep 17 00:00:00 2001 From: Mikhail Alferov Date: Thu, 31 Jul 2025 14:33:01 +0300 Subject: [PATCH] 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 --- reference/array/functions/array-map.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reference/array/functions/array-map.xml b/reference/array/functions/array-map.xml index fc2eea2421cd..02c8ef0737aa 100644 --- a/reference/array/functions/array-map.xml +++ b/reference/array/functions/array-map.xml @@ -41,7 +41,8 @@ &null; can be passed as a value to callback to perform a zip operation on multiple arrays and return an array - whose elements are each an array holding the elements of the input arrays of the same index (see example below). + whose elements are each an array holding the elements of the input arrays of the + same position of the internal array pointer (see example below). If only array is provided, array_map will return the input array.