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 - 7.1.0
TEST = PHP_SELF TEST1 = PHP_SELF