3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php const X = []; $a = X[null]; var_dump($a);
Output for 7.2.11
Notice: Undefined index: in /in/10FQf on line 5 NULL