3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 1; var_dump($x['test']); $x = []; var_dump($x['test']);
based on qG7TV
Output for 5.6.0 - 7.3.0beta1
NULL Notice: Undefined index: test in /in/ctaDY on line 8 NULL