3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array(1,2,3); for ($i =0; $i<count($t)+1; $i++) { echo $t[$i]; } ?>
Output for 5.3.0 - 7.2.0
123 Notice: Undefined offset: 3 in /in/vN2eP on line 4
Output for 4.3.0 - 5.2.17
123 Notice: Undefined offset: 3 in /in/vN2eP on line 4