Ver original<?phpfunction foo($array){ foreach($array as $arr){ if(is_array($arr)){ foo($arr); }else{ echo $arr; } }}