array_walk php function

preview_player
Показать описание
array_walk — Apply a user supplied function to every member of an array
Description
array_walk(array|object &$array, callable $callback, mixed $arg = null): bool

Applies the user-defined callback function to each element of the array array.

array_walk() is not affected by the internal array pointer of array. array_walk() will walk through the entire array regardless of pointer position.
Рекомендации по теме