3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump($_ENV['PATH']); // to check if it really has data var_dump(filter_input(INPUT_ENV, 'PATH')); // this returns NULL, but should return the same as the previous
Output for 5.3.20 - 5.6.28, 7.0.2 - 7.2.0
string(13) "/usr/bin:/bin" string(13) "/usr/bin:/bin"
Output for 7.0.0 - 7.0.1
string(13) "/usr/bin:/bin" NULL