3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<? echo $_SERVER[REMOTE_ADDR]; ?>
Output for 7.2.0
Warning: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' (this will throw an Error in a future version of PHP) in /in/66eIC on line 2 Notice: Undefined index: REMOTE_ADDR in /in/66eIC on line 2
Output for 5.4.34 - 7.1.7
Notice: Use of undefined constant REMOTE_ADDR - assumed 'REMOTE_ADDR' in /in/66eIC on line 2 Notice: Undefined index: REMOTE_ADDR in /in/66eIC on line 2
Output for 4.3.0 - 5.4.32
<? echo $_SERVER[REMOTE_ADDR]; ?>