array_map
array_map
(PHP 4 >= 4.0.6, PHP 5, PHP 7)
array_map — Applies the callback to the elements of the given arrays
Description
array array_map ( callable $callback , array $array1 [, array $... ] )
array_map() returns an array containing all the elements of array1
after applying the callback
function to each one. The number of parameters that the callback
function accepts should match the number of arrays passed to the array_map()