3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo implode(', ', array_keys($_SERVER));
Output for 5.4.0 - 7.2.0
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, PHP_SELF, SCRIPT_NAME, SCRIPT_FILENAME, PATH_TRANSLATED, DOCUMENT_ROOT, REQUEST_TIME_FLOAT, REQUEST_TIME, argv, argc
Output for 5.2.3 - 5.3.29
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, PHP_SELF, SCRIPT_NAME, SCRIPT_FILENAME, PATH_TRANSLATED, DOCUMENT_ROOT, REQUEST_TIME, argv, argc
Output for 5.1.0 - 5.2.2
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, PHP_SELF, REQUEST_TIME, argv, argc
Output for 5.0.0 - 5.0.5
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, PHP_SELF, argv, argc
Output for 4.3.0 - 4.4.9
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, TIME, LD_PRELOAD, PHP_SELF, argv, argc