3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'remote addr: '.$_SERVER['REMOTE_ADDR'].'<br>'; $details = gethostbyaddr($_SERVER['REMOTE_ADDR']). print_r(dns_get_record(gethostbyaddr($_SERVER['REMOTE_ADDR'])),true); echo $details; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/MatBG
function name:  (null)
number of ops:  26
compiled vars:  !0 = $details
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~1      '_SERVER'
          1        FETCH_DIM_R                                      ~2      ~1, 'REMOTE_ADDR'
          2        CONCAT                                           ~3      'remote+addr%3A+', ~2
          3        CONCAT                                           ~4      ~3, '%3Cbr%3E'
          4        ECHO                                                     ~4
    3     5        INIT_FCALL                                               'gethostbyaddr'
          6        FETCH_R                      global              ~5      '_SERVER'
          7        FETCH_DIM_R                                      ~6      ~5, 'REMOTE_ADDR'
          8        SEND_VAL                                                 ~6
          9        DO_ICALL                                         $7      
    4    10        INIT_FCALL                                               'print_r'
         11        INIT_FCALL                                               'dns_get_record'
         12        INIT_FCALL                                               'gethostbyaddr'
         13        FETCH_R                      global              ~8      '_SERVER'
         14        FETCH_DIM_R                                      ~9      ~8, 'REMOTE_ADDR'
         15        SEND_VAL                                                 ~9
         16        DO_ICALL                                         $10     
         17        SEND_VAR                                                 $10
         18        DO_ICALL                                         $11     
         19        SEND_VAR                                                 $11
         20        SEND_VAL                                                 <true>
         21        DO_ICALL                                         $12     
         22        CONCAT                                           ~13     $7, $12
    3    23        ASSIGN                                                   !0, ~13
    6    24        ECHO                                                     !0
    7    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.23 ms | 1395 KiB | 19 Q