3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); // test for notice if ($a[10]) { echo "true"; } else { echo "false"; }
Output for 5.3.0 - 7.1.7
Notice: Undefined offset: 10 in /in/P3RXb on line 6 false
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 10 in /in/P3RXb on line 6 false