flolam on 03/08/11
Last Edited at 03/08/11 05:37am
$multimap = array( array("name"=>"value1"), array("name"=>"value2"), array("name"=>"value3")); $flatmap = array_map("array_pop",$multimap); print_r($flatmap); /*Output: Array( [0] => value1 [1] => value2 [2] => value3)*/
URL: http://www.php.net/manual/en/function.array-map.php#101791
Report this snippet Tweet
Comment:
You need to login to post a comment.