3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo implode(', ', array_keys($_SERVER));
Output for 5.4.0 - 5.6.28, 7.0.0 - 7.1.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 hhvm-3.10.0 - 3.12.0
TERM, PATH, LANG, SHELL, MAIN, LOGNAME, USER, USERNAME, HOME, GLIBCPP_FORCE_NEW, GLIBCXX_FORCE_NEW, REQUEST_START_TIME, REQUEST_TIME, REQUEST_TIME_FLOAT, DOCUMENT_ROOT, SCRIPT_FILENAME, SCRIPT_NAME, PHP_SELF, argv, argc, PWD
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