3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array (5 => 3, 12 => 4); $arr [] = 57; $arr [ "x" ] = 62; echo var_dump( $arr );
Output for 4.3.0 - 7.2.0
array(4) { [5]=> int(3) [12]=> int(4) [13]=> int(57) ["x"]=> int(62) }