3v4l.org

run code in 300+ PHP versions simultaneously
<?PHP $s1 = $_GET[md5($_SERVER['HTTP_USER_AGENT'])]; $s2 = $_GET[md5($_SERVER['REMOTE_ADDR'])]; if ($s1!== $s2) exit(1); if (md5($s1)===hash('md5',$s2)) exit(1); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 19
Branch analysis from position: 18
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 28, Position 2 = 29
Branch analysis from position: 28
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K4QFj
function name:  (null)
number of ops:  30
compiled vars:  !0 = $s1, !1 = $s2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'md5'
          1        FETCH_R                      global              ~3      '_SERVER'
          2        FETCH_DIM_R                                      ~4      ~3, 'HTTP_USER_AGENT'
          3        SEND_VAL                                                 ~4
          4        DO_ICALL                                         $5      
          5        FETCH_R                      global              ~2      '_GET'
          6        FETCH_DIM_R                                      ~6      ~2, $5
          7        ASSIGN                                                   !0, ~6
    3     8        INIT_FCALL                                               'md5'
          9        FETCH_R                      global              ~9      '_SERVER'
         10        FETCH_DIM_R                                      ~10     ~9, 'REMOTE_ADDR'
         11        SEND_VAL                                                 ~10
         12        DO_ICALL                                         $11     
         13        FETCH_R                      global              ~8      '_GET'
         14        FETCH_DIM_R                                      ~12     ~8, $11
         15        ASSIGN                                                   !1, ~12
    4    16        IS_NOT_IDENTICAL                                         !0, !1
         17      > JMPZ                                                     ~14, ->19
         18    > > EXIT                                                     1
    5    19    >   INIT_FCALL                                               'md5'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $15     
         22        INIT_FCALL                                               'hash'
         23        SEND_VAL                                                 'md5'
         24        SEND_VAR                                                 !1
         25        DO_ICALL                                         $16     
         26        IS_IDENTICAL                                             $15, $16
         27      > JMPZ                                                     ~17, ->29
         28    > > EXIT                                                     1
    6    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
263.07 ms | 1396 KiB | 17 Q