3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r($_ENV);
Output for 5.0.0 - 5.6.30, 7.0.0 - 7.2.0
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / )
Output for hhvm-3.13.2 - 3.17.3
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [GLIBCPP_FORCE_NEW] => 1 [GLIBCXX_FORCE_NEW] => 1 [UNW_RBP_ALWAYS_VALID] => 1 [HPHP] => 1 [HHVM] => 1 [HHVM_ARCH] => x64 )
Output for hhvm-3.10.1 - 3.12.14
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [GLIBCPP_FORCE_NEW] => 1 [GLIBCXX_FORCE_NEW] => 1 [HPHP] => 1 [HHVM] => 1 [HHVM_ARCH] => x64 )
Output for 4.3.0 - 4.4.9
Array ( [TERM] => xterm [PATH] => /usr/bin:/bin [LANG] => C [SHELL] => /bin/sh [MAIN] => /var/mail/nobody [LOGNAME] => nobody [USER] => nobody [USERNAME] => nobody [HOME] => / [TIME] => 1480679360 [LD_PRELOAD] => /usr/bin/daemon-preload.so )