3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$arr = array (5 => 3, 12 => 4); $arr [] = 57; $arr [ "x" ] = 62; echo var_dump( $arr );
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.4.32
<?php$arr = array (5 => 3, 12 => 4); $arr [] = 57; $arr [ "x" ] = 62; echo var_dump( $arr );
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
<?php$arr = array (5 => 3, 12 => 4); $arr [] = 57; $arr [ "x" ] = 62; echo var_dump( $arr );