3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function scope () { static $globals = array( '_SERVER' => &$_SERVER, '_ENV' => &$_ENV, '_REQUEST' => &$_REQUEST, '_GET' => &$_GET, '_POST' => &$_POST, '_COOKIE' => &$_COOKIE, '_FILES' => &$_FILES, '_CUSTOM' => &$_CUSTOM ); var_dump($globals); } $_POST = null; scope();
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected '&' in /in/BYqMF on line 7
Process exited with code 255.