3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo() { unset($GLOBALS[]); } $bar = "something"; foo();
Output for 5.3.0 - 5.4.23
Fatal error: Cannot use [] for unsetting in /in/8SgNM on line 4
Process exited with code 255.