3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $_SERVER['REMOTE_ADDR'][0]; echo $_SERVER['REMOTE_HOST']; echo $_SERVER['HTTP_USER_AGENT']; echo $_SERVER['HTTP_HOST']; echo $_SERVER['HTTP_REFERER']; echo $_SERVER['REQUEST_TIME'];
Output for 5.3.0 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.3.0rc4
Notice: Undefined index: REMOTE_ADDR in /in/PRAFJ on line 2 Notice: Undefined index: REMOTE_HOST in /in/PRAFJ on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/PRAFJ on line 4 Notice: Undefined index: HTTP_HOST in /in/PRAFJ on line 5 Notice: Undefined index: HTTP_REFERER in /in/PRAFJ on line 6 1462364808
Output for 5.1.0 - 5.2.17
Notice: Undefined index: REMOTE_ADDR in /in/PRAFJ on line 2 Notice: Undefined index: REMOTE_HOST in /in/PRAFJ on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/PRAFJ on line 4 Notice: Undefined index: HTTP_HOST in /in/PRAFJ on line 5 Notice: Undefined index: HTTP_REFERER in /in/PRAFJ on line 6 1462364808
Output for 4.3.0 - 5.0.5
Notice: Undefined index: REMOTE_ADDR in /in/PRAFJ on line 2 Notice: Undefined index: REMOTE_HOST in /in/PRAFJ on line 3 Notice: Undefined index: HTTP_USER_AGENT in /in/PRAFJ on line 4 Notice: Undefined index: HTTP_HOST in /in/PRAFJ on line 5 Notice: Undefined index: HTTP_REFERER in /in/PRAFJ on line 6 Notice: Undefined index: REQUEST_TIME in /in/PRAFJ on line 7