3v4l.org

run code in 300+ PHP versions simultaneously
<?php $country = file_get_contents('http://api.hostip.info/country.php?ip='.$_SERVER['REMOTE_ADDR']); echo $country; //Remove this line ?> <IMG SRC="http://api.hostip.info/flag.php" width="30" height="20" BORDER="0" ALT="Your Choice">
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/t0cRe
function name:  (null)
number of ops:  10
compiled vars:  !0 = $country
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'file_get_contents'
          1        FETCH_R                      global              ~1      '_SERVER'
          2        FETCH_DIM_R                                      ~2      ~1, 'REMOTE_ADDR'
          3        CONCAT                                           ~3      'http%3A%2F%2Fapi.hostip.info%2Fcountry.php%3Fip%3D', ~2
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !0, $4
    3     7        ECHO                                                     !0
    6     8        ECHO                                                     '+%0A%3CIMG+SRC%3D%22http%3A%2F%2Fapi.hostip.info%2Fflag.php%22+width%3D%2230%22+height%3D%2220%22+BORDER%3D%220%22+ALT%3D%22Your+Choice%22%3E'
    7     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.34 ms | 1385 KiB | 15 Q