3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ipaddress = ''; if (getenv('HTTP_CLIENT_IP')) $ipaddress = getenv('HTTP_CLIENT_IP');
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
filename:       /in/9qN0g
function name:  (null)
number of ops:  10
compiled vars:  !0 = $ipaddress
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, ''
    4     1        INIT_FCALL                                               'getenv'
          2        SEND_VAL                                                 'HTTP_CLIENT_IP'
          3        DO_ICALL                                         $2      
          4      > JMPZ                                                     $2, ->9
    5     5    >   INIT_FCALL                                               'getenv'
          6        SEND_VAL                                                 'HTTP_CLIENT_IP'
          7        DO_ICALL                                         $3      
          8        ASSIGN                                                   !0, $3
          9    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.67 ms | 1394 KiB | 15 Q