3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = [0,1,2,3,4]; unset($array[2]); var_dump($array);
based on YWFb5
Output for 5.6.38 - 7.3.0rc3
array(4) { [0]=> int(0) [1]=> int(1) [3]=> int(3) [4]=> int(4) }