3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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);
based on nPWv7
Output for 4.3.0 - 7.2.0
Array ( [0] => Array ( [0] => 1 [1] => 2 ) [1] => Array ( [0] => 2 [1] => 3 ) [2] => Array ( [0] => 4 [1] => 5 ) )