3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(file_get_contents("/proc/self/environ")); ?>
Output for 5.6.28, 7.0.12 - 7.1.0
string(177) "TERM=xtermPATH=/usr/bin:/binLANG=CSHELL=/bin/shMAIN=/var/mail/nobodyLOGNAME=nobodyUSER=nobodyUSERNAME=nobodyHOME=/TIME=1368737253LD_PRELOAD=/usr/bin/daemon-preload.so"
Output for 4.3.0 - 5.6.21, 7.0.0 - 7.0.6
string(123) "TERM=xtermPATH=/usr/bin:/binLANG=CSHELL=/bin/shMAIN=/var/mail/nobodyLOGNAME=nobodyUSER=nobodyUSERNAME=nobodyHOME=/"