3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo implode(', ', array_keys($_SERVER));

Shows result from various feature-branches currently under review from the php developers. Contact me to have additional branches featured.

Output for Typed properties v2
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 Lexical anon
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

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page