3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if(!empty($_SERVER['HTTP_CLIENT_IP'])){ $ip_addrs=$_SERVER['HTTP_CLIENT_IP']; echo '$ip_addrs'; }if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){ $ip_addrs=$_SERVER['HTTP_X_FORWARDED_FOR']; echo '$ip_addrs';
Output for 5.4.0 - 5.4.30
Parse error: syntax error, unexpected end of file in /in/a25gf on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected $end in /in/a25gf on line 7
Process exited with code 255.