3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print "next.1\n"; $a ["one"] = 5; var_dump ($a); print "next.2"; if (isset ($a ["none"])) { print $a ["none"]; } else { print "not set"; } print "next.3"; $a = &$a ["none"]; print $a; print "end";
based on 13cCM
Output for 4.3.0 - 7.2.0
next.1 array(1) { ["one"]=> int(5) } next.2not setnext.3end