3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(0, 1, 2); echo $a[0]; echo $a[2]; echo $a[3];
based on rDOSj
Output for 5.3.0 - 7.2.6
02 Notice: Undefined offset: 3 in /in/3dh9m on line 6
Output for 4.3.0 - 5.2.17
02 Notice: Undefined offset: 3 in /in/3dh9m on line 6