3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array("foo", "baa", "ahahaha"); unset($a[1]); //echo '<pre>'; print_r($a); for($i = 0; $i < count($a); $i++) { echo 'val at ', $i; echo " ", $a[$i], "\r\n"; }
Output for 5.3.0 - 7.2.0
val at 0 foo val at 1 Notice: Undefined offset: 1 in /in/dAJ7Q on line 10
Output for 4.3.0 - 5.2.17
val at 0 foo val at 1 Notice: Undefined offset: 1 in /in/dAJ7Q on line 10