3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (filter_var(($ip = $_SERVER['REMOTE_ADDR']), FILTER_FLAG_IPV4)) { echo $ip; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/WHRdc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $ip
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'filter_var'
          1        FETCH_R                      global              ~1      '_SERVER'
          2        FETCH_DIM_R                                      ~2      ~1, 'REMOTE_ADDR'
          3        ASSIGN                                           ~3      !0, ~2
          4        SEND_VAL                                                 ~3
          5        SEND_VAL                                                 1048576
          6        DO_ICALL                                         $4      
          7      > JMPZ                                                     $4, ->9
    3     8    >   ECHO                                                     !0
    4     9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.03 ms | 1394 KiB | 15 Q