3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array(1, 2, 4=>13, 4, 1=>3));
Output for 5.3.18 - 7.2.0
array(4) { [0]=> int(1) [1]=> int(3) [4]=> int(13) [5]=> int(4) }