3v4l.org

run code in 300+ PHP versions simultaneously
<? $ip = $_SERVER['REMOTE_ADDR']; $geopluginURL='http://www.geoplugin.net/php.gp?ip='.$ip; $addrDetailsArr = unserialize(file_get_contents($geopluginURL)); $country = $addrDetailsArr['geoplugin_countryName']; var_dump($country); die();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/dgMvo
function name:  (null)
number of ops:  19
compiled vars:  !0 = $ip, !1 = $geopluginURL, !2 = $addrDetailsArr, !3 = $country
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~4      '_SERVER'
          1        FETCH_DIM_R                                      ~5      ~4, 'REMOTE_ADDR'
          2        ASSIGN                                                   !0, ~5
    3     3        CONCAT                                           ~7      'http%3A%2F%2Fwww.geoplugin.net%2Fphp.gp%3Fip%3D', !0
          4        ASSIGN                                                   !1, ~7
    4     5        INIT_FCALL                                               'unserialize'
          6        INIT_FCALL                                               'file_get_contents'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $9      
          9        SEND_VAR                                                 $9
         10        DO_ICALL                                         $10     
         11        ASSIGN                                                   !2, $10
    5    12        FETCH_DIM_R                                      ~12     !2, 'geoplugin_countryName'
         13        ASSIGN                                                   !3, ~12
    6    14        INIT_FCALL                                               'var_dump'
         15        SEND_VAR                                                 !3
         16        DO_ICALL                                                 
         17      > EXIT                                                     
         18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.49 ms | 1386 KiB | 19 Q