3v4l.org

run code in 300+ PHP versions simultaneously
<?php putenv('TEST=PHP_SELF'); $test = getenv('TEST'); echo 'TEST = ' .$test.' '; putenv("TEST1='TEST'"); $test1 = getenv('TEST1'); echo 'TEST1 = ' .$test1;

preferences:
33.79 ms | 402 KiB | 5 Q