3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(0=>1,1=>2, 8=>0, 9=>5); $check = true; unset($arr[0], $check); print_r($arr);
Output for 4.3.0 - 7.1.0
Array ( [1] => 2 [8] => 0 [9] => 5 )