3v4l.org

run code in 300+ PHP versions simultaneously
<?php $country = geoip_country_code_by_name('www.example.com'); if ($country) { echo 'This host is located in: ' . $country; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/l3Ndq
function name:  (null)
number of ops:  8
compiled vars:  !0 = $country
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                       'geoip_country_code_by_name'
          1        SEND_VAL_EX                                              'www.example.com'
          2        DO_FCALL                                      0  $1      
          3        ASSIGN                                                   !0, $1
    3     4      > JMPZ                                                     !0, ->7
    4     5    >   CONCAT                                           ~3      'This+host+is+located+in%3A+', !0
          6        ECHO                                                     ~3
    5     7    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.46 ms | 1392 KiB | 13 Q