3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php putenv('TEST=PHP_SELF'); $test = getenv('TEST'); echo 'TEST = ' .$test.' '; putenv('TEST1=TEST'); $test1 = getenv('TEST1'); echo 'TEST1 = ' .$test1;
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
TEST = PHP_SELF TEST1 = TEST