array_map

Example

 array array_map ( callback $callback , array $arr1 [, array $... ] ) 

Description

array_map() returns an array containing all the elements of arr1 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()

Return Values

Returns an array containing all the elements of arr1 after applying the callback function to each one.