3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arrVal = array ( '22' => array( '0' => 60, '29' => array( '0' => 6 ), '30' => array ( '0' => 5, '1' => 8 ), '31' => array ( '0' => 7, '1' => 9, '2' => 14, '3' => 26 ) ), '23' => 12, '35' => 10, '42' => 22 ); print_r($arrVal);
based on B1TMe
Output for 4.3.0 - 7.2.0
Array ( [22] => Array ( [0] => 60 [29] => Array ( [0] => 6 ) [30] => Array ( [0] => 5 [1] => 8 ) [31] => Array ( [0] => 7 [1] => 9 [2] => 14 [3] => 26 ) ) [23] => 12 [35] => 10 [42] => 22 )