3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 42; $b = null; $c = true; // no Notices var_dump($a[37], $b[37], $c[37]); // test, if we see a notices at all $x = array(); var_dump($x[37]);
Output for 5.3.0 - 7.1.0
NULL NULL NULL Notice: Undefined offset: 37 in /in/almtr on line 12 NULL
Output for 4.3.0 - 5.2.17
NULL NULL NULL Notice: Undefined offset: 37 in /in/almtr on line 12 NULL