3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $damn = [ 'ass' => 'crap', 'hell' => 'yeah' ]; var_dump($damn['ass']); var_dump($damn['it']);
Output for 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.30 - 7.3.0beta1
string(4) "crap" Notice: Undefined index: it in /in/4BdbR on line 9 NULL
Output for hhvm-3.22.0
string(4) "crap" Notice: Undefined index: it in /in/4BdbR on line -1 NULL