3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array(1,2,3); echo $test[0]; echo $test[4]; ?>
Output for 5.3.0 - 7.1.0
1 Notice: Undefined offset: 4 in /in/XQJPr on line 4
Output for 4.3.0 - 5.2.17
1 Notice: Undefined offset: 4 in /in/XQJPr on line 4