3v4l.org

run code in 150+ 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']; ?>
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
/in/eK6k8<br> Notice: Undefined index: SERVER_NAME in /in/eK6k8 on line 4 <br> Notice: Undefined index: HTTP_HOST in /in/eK6k8 on line 6 <br> Notice: Undefined index: HTTP_REFERER in /in/eK6k8 on line 8 <br> Notice: Undefined index: HTTP_USER_AGENT in /in/eK6k8 on line 10 <br>/in/eK6k8
Output for 5.2.3 - 5.2.17
/in/eK6k8<br> Notice: Undefined index: SERVER_NAME in /in/eK6k8 on line 4 <br> Notice: Undefined index: HTTP_HOST in /in/eK6k8 on line 6 <br> Notice: Undefined index: HTTP_REFERER in /in/eK6k8 on line 8 <br> Notice: Undefined index: HTTP_USER_AGENT in /in/eK6k8 on line 10 <br>/in/eK6k8
Output for 4.3.0 - 5.2.2
<br> Notice: Undefined index: SERVER_NAME in /in/eK6k8 on line 4 <br> Notice: Undefined index: HTTP_HOST in /in/eK6k8 on line 6 <br> Notice: Undefined index: HTTP_REFERER in /in/eK6k8 on line 8 <br> Notice: Undefined index: HTTP_USER_AGENT in /in/eK6k8 on line 10 <br> Notice: Undefined index: SCRIPT_NAME in /in/eK6k8 on line 12