3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r([][0] . PHP_EOL);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Notice: Undefined offset: 0 in /in/2g1F5 on line 3
Output for hhvm-3.22.0
Notice: Undefined index: 0 in /in/2g1F5 on line -1
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined index: 0 in /in/2g1F5 on line 3