3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $all = array(array("class"=>array("peter","15","male"),array("mary","24","female"),array("jason","22","male"))); print_r($all);
based on ugUau
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [class] => Array ( [0] => peter [1] => 15 [2] => male ) [0] => Array ( [0] => mary [1] => 24 [2] => female ) [1] => Array ( [0] => jason [1] => 22 [2] => male ) ) )