3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $login = "\");"; if(!empty($HTTP_SERVER_VARS['REMOTE_ADDR'])) putenv("LOGIN=" . $_SERVER['REMOTE_ADDR']); else putenv('LOGIN=noref'); $test = getenv("LOGIN"); echo "LOGIN = " .$test;
Output for 4.3.0 - 7.2.0
LOGIN = noref