3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php  //whether ip is from share internet  if (!empty($_SERVER['HTTP_CLIENT_IP']))       {      $ip_address = $_SERVER['HTTP_CLIENT_IP'];    }  //whether ip is from proxy  elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR']))      {      $ip_address = $_SERVER['HTTP_X_FORWARDED_FOR'];    }  //whether ip is from remote address  else    {      $ip_address = $_SERVER['REMOTE_ADDR'];    }  echo $ip_address;  ?> 
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/Vn4aJ
function name:  (null)
number of ops:  4
compiled vars:  none
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   1     0  E >   FETCH_CONSTANT                                   ~0      'php%C2%A0%C2%A0'
         1        FREE                                                     ~0
         2        ECHO                                                     '%C2%A0'
         3      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0