3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = [4]; $b = $a[1];//??null; var_dump($b);
based on r2qhk
Output for 5.6.0 - 5.6.30, 7.1.0 - 7.3.0beta1
Notice: Undefined offset: 1 in /in/s1n1N on line 4 NULL
Output for hhvm-3.22.0
Notice: Undefined index: 1 in /in/s1n1N on line -1 NULL
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined index: 1 in /in/s1n1N on line 4 NULL