3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r($HTTP_SERVER_VARS);
Output for 5.4.0 - 7.1.0
Notice: Undefined variable: HTTP_SERVER_VARS in /in/qn8Mq on line 2
Output for 5.3.29
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => /in/qn8Mq [SCRIPT_NAME] => /in/qn8Mq [SCRIPT_FILENAME] => /in/qn8Mq [PATH_TRANSLATED] => /in/qn8Mq [DOCUMENT_ROOT] => [REQUEST_TIME] => 1409371057 [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )
Output for 5.3.12 - 5.3.28
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => /in/qn8Mq [SCRIPT_NAME] => /in/qn8Mq [SCRIPT_FILENAME] => /in/qn8Mq [PATH_TRANSLATED] => /in/qn8Mq [DOCUMENT_ROOT] => [REQUEST_TIME] => 1397028666 [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )
Output for 5.2.10 - 5.3.11
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => /in/qn8Mq [SCRIPT_NAME] => /in/qn8Mq [SCRIPT_FILENAME] => /in/qn8Mq [PATH_TRANSLATED] => /in/qn8Mq [DOCUMENT_ROOT] => [REQUEST_TIME] => 1397028667 [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )
Output for 5.2.3 - 5.2.9
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => /in/qn8Mq [SCRIPT_NAME] => /in/qn8Mq [SCRIPT_FILENAME] => /in/qn8Mq [PATH_TRANSLATED] => /in/qn8Mq [DOCUMENT_ROOT] => [REQUEST_TIME] => 1397028668 [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )
Output for 5.1.0 - 5.2.2
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => [REQUEST_TIME] => 1397028668 [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )
Output for 4.3.0 - 5.0.5
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [PHP_SELF] => [argv] => Array ( [0] => /in/qn8Mq ) [argc] => 1 )