3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $_SERVER['PHP_SELF']; echo "<br>"; echo $_SERVER['SERVER_NAME']; echo "<br>"; echo $_SERVER['HTTP_HOST']; echo "<br>"; echo $_SERVER['HTTP_REFERER']; echo "<br>"; echo $_SERVER['HTTP_USER_AGENT']; echo "<br>"; echo $_SERVER['SCRIPT_NAME']; echo "<br>";
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0beta1
/in/qqEHa<br> Notice: Undefined index: SERVER_NAME in /in/qqEHa on line 5 <br> Notice: Undefined index: HTTP_HOST in /in/qqEHa on line 7 <br> Notice: Undefined index: HTTP_REFERER in /in/qqEHa on line 9 <br> Notice: Undefined index: HTTP_USER_AGENT in /in/qqEHa on line 11 <br>/in/qqEHa<br>
Output for hhvm-3.22.0
/in/qqEHa<br> Notice: Undefined index: SERVER_NAME in /in/qqEHa on line -1 <br> Notice: Undefined index: HTTP_HOST in /in/qqEHa on line -1 <br> Notice: Undefined index: HTTP_REFERER in /in/qqEHa on line -1 <br> Notice: Undefined index: HTTP_USER_AGENT in /in/qqEHa on line -1 <br>/in/qqEHa<br>