- print_r: documentation ( source)
<?php
$arr=array(
"test" => array(1, 2),
"test1" =>array(2, 3),
"test3" => array(4, 5)
);
$arrr=array();
foreach($arr as $str=>$stats){
$arrr[]=$stats;
}
echo print_r($arrr, TRUE);