3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.02 ms | 1396 KiB | 19 Q