3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('5'=>'5', '6'=>'6'); var_dump($a, $a[5]);
Output for 4.3.0 - 7.2.0
array(2) { [5]=> string(1) "5" [6]=> string(1) "6" } string(1) "5"