3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(); $array[11243] = 'cycki1'; $array[10] = 'kutas'; $array[1] = 'chuj'; var_dump($array);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(3) { [11243]=> string(6) "cycki1" [10]=> string(5) "kutas" [1]=> string(4) "chuj" }