3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array(); $array[11243] = 'cycki1'; $array[10] = 'kutas'; $array[1] = 'chuj'; $array[10] = 'psikuta'; //array_shift ( array &$array ) var_dump($array);
Output for 4.3.0 - 7.1.7
array(3) { [11243]=> string(6) "cycki1" [10]=> string(7) "psikuta" [1]=> string(4) "chuj" }