map in php application code example Example: using array map php array_map ( callable $callback , array $array1 [, array $... ] ) : array