3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo $_SERVER['REMOTE_ADDR']; echo $_SERVER['REMOTE_HOST']; echo $_SERVER['HTTP_USER_AGENT']; echo $_SERVER['HTTP_HOST']; echo $_SERVER['HTTP_REFERER']; echo $_SERVER['REQUEST_TIME'];
Output for 5.6.28, 7.0.14 - 7.1.0
Notice: Undefined index: REMOTE_ADDR in /in/2GLZP on line 2 Notice: Undefined index: REMOTE_HOST in /in/2GLZP on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/2GLZP on line 4 Notice: Undefined index: HTTP_HOST in /in/2GLZP on line 5 Notice: Undefined index: HTTP_REFERER in /in/2GLZP on line 6 1360992278
Output for 5.3.0 - 5.6.22, 7.0.0 - 7.0.7
Notice: Undefined index: REMOTE_ADDR in /in/2GLZP on line 2 Notice: Undefined index: REMOTE_HOST in /in/2GLZP on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/2GLZP on line 4 Notice: Undefined index: HTTP_HOST in /in/2GLZP on line 5 Notice: Undefined index: HTTP_REFERER in /in/2GLZP on line 6 1360995878
Output for 5.1.0 - 5.2.17
Notice: Undefined index: REMOTE_ADDR in /in/2GLZP on line 2 Notice: Undefined index: REMOTE_HOST in /in/2GLZP on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/2GLZP on line 4 Notice: Undefined index: HTTP_HOST in /in/2GLZP on line 5 Notice: Undefined index: HTTP_REFERER in /in/2GLZP on line 6 1360995878
Output for 4.3.0 - 5.0.5
Notice: Undefined index: REMOTE_ADDR in /in/2GLZP on line 2 Notice: Undefined index: REMOTE_HOST in /in/2GLZP on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/2GLZP on line 4 Notice: Undefined index: HTTP_HOST in /in/2GLZP on line 5 Notice: Undefined index: HTTP_REFERER in /in/2GLZP on line 6 Notice: Undefined index: REQUEST_TIME in /in/2GLZP on line 7