3v4l.org

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