3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ip_address =$_SERVER['REMOTE_ADDR']; echo $ip_address; ?>
based on UnBXK
Output for 5.3.0 - 7.1.0
Notice: Undefined index: REMOTE_ADDR in /in/WBYXX on line 2 Notice: Undefined variable: ip_address in /in/WBYXX on line 3
Output for 5.0.4 - 5.2.17
Notice: Undefined index: REMOTE_ADDR in /in/WBYXX on line 2 Notice: Undefined variable: ip_address in /in/WBYXX on line 3
Output for 4.3.0 - 5.0.3
Notice: Undefined index: REMOTE_ADDR in /in/WBYXX on line 2 Notice: Undefined variable: ip_address in /in/WBYXX on line 3