3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $lol = []; var_dump($lol[0]);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Notice: Undefined offset: 0 in /in/5Seii on line 5 NULL
Output for hhvm-3.15.4
Notice: Undefined index: 0 in /in/5Seii on line 5 NULL