3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); $b = $a[0]; var_dump($b);
Output for 5.3.0 - 5.6.38, 7.0.0 - 7.3.0
Notice: Undefined offset: 0 in /in/CWrBc on line 6 NULL
Output for hhvm-3.22.0
Notice: Undefined index: 0 in /in/CWrBc on line -1 NULL
Output for hhvm-3.10.1 - 3.21.3
Notice: Undefined index: 0 in /in/CWrBc on line 6 NULL
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 0 in /in/CWrBc on line 6 NULL