3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php putenv("foo=bar"); var_dump($_ENV['foo']);
Output for 5.3.0 - 7.2.0
Notice: Undefined index: foo in /in/LgsBU on line 3 NULL
Output for 4.3.0 - 5.2.17
Notice: Undefined index: foo in /in/LgsBU on line 3 NULL