Basically my app is interacting with a web service that sends back a weird multidimensional array such as:
Array ( [0] => Array (
I think i found best solution to this :
array_walk_recursive($yourOLDmultidimarray, function ($item, $key) { //echo "$key holds $item\n"; $yourNEWarray[]=$item; });