3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo shell_exec('/bin/php-'. phpversion(). ' /in/6YOiF');
based on 62K6J
Output for 4.3.0, 5.4.43 - 7.1.0
Output for 5.2.3 - 5.4.42
Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => / )
Output for 5.2.2
X-Powered-By: PHP/5.2.2 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.2.1
X-Powered-By: PHP/5.2.1 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.2.0
X-Powered-By: PHP/5.2.0 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.6
X-Powered-By: PHP/5.1.6 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.5
X-Powered-By: PHP/5.1.5 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.4
X-Powered-By: PHP/5.1.4 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.3
X-Powered-By: PHP/5.1.3 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.2
X-Powered-By: PHP/5.1.2 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.1
X-Powered-By: PHP/5.1.1 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.1.0
X-Powered-By: PHP/5.1.0 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.5
Content-type: text/html X-Powered-By: PHP/5.0.5 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.4
Content-type: text/html X-Powered-By: PHP/5.0.4 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.3
Content-type: text/html X-Powered-By: PHP/5.0.3 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.2
Content-type: text/html X-Powered-By: PHP/5.0.2 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.1
Content-type: text/html X-Powered-By: PHP/5.0.1 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 5.0.0
Content-type: text/html X-Powered-By: PHP/5.0.0 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.9
X-Powered-By: PHP/4.4.9 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.8
X-Powered-By: PHP/4.4.8 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.7
X-Powered-By: PHP/4.4.7 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.6
X-Powered-By: PHP/4.4.6 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.5
X-Powered-By: PHP/4.4.5 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.4
X-Powered-By: PHP/4.4.4 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.3
X-Powered-By: PHP/4.4.3 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.2
X-Powered-By: PHP/4.4.2 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.1
X-Powered-By: PHP/4.4.1 Content-type: text/html Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.4.0
Content-type: text/html X-Powered-By: PHP/4.4.0 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.11
Content-type: text/html X-Powered-By: PHP/4.3.11 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.10
Content-type: text/html X-Powered-By: PHP/4.3.10 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.9
Content-type: text/html X-Powered-By: PHP/4.3.9 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.8
Content-type: text/html X-Powered-By: PHP/4.3.8 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.7
Content-type: text/html X-Powered-By: PHP/4.3.7 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.6
Content-type: text/html X-Powered-By: PHP/4.3.6 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.5
Content-type: text/html X-Powered-By: PHP/4.3.5 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.4
Content-type: text/html X-Powered-By: PHP/4.3.4 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.3
Content-type: text/html X-Powered-By: PHP/4.3.3 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.2
Content-type: text/html X-Powered-By: PHP/4.3.2 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )
Output for 4.3.1
Content-type: text/html X-Powered-By: PHP/4.3.1 Array ( [USER] => nobody [MAIN] => /var/mail/nobody [HOME] => / [LOGNAME] => nobody [TERM] => xterm [USERNAME] => nobody [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [PWD] => /in )