(Available since version 1.0)
ArrayDeque::map — Maps an index to the internal array
$index
)Maps an index in the external array to its equivalent index in the internal array.
index
An index in the external array
The equivalent index in the internal array