3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { } define('__FLAG__', 'flag{hidden_flag}'); if(decrypt($_REQUEST['pass']) == 'pwning_the_phpreverse!') { __FLAG__; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/SDB3D
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 '__FLAG__'
          2        SEND_VAL                                                 'flag%7Bhidden_flag%7D'
          3        DO_ICALL                                                 
   18     4        INIT_FCALL_BY_NAME                                       'decrypt'
          5        CHECK_FUNC_ARG                                           
          6        FETCH_FUNC_ARG               global              $1      '_REQUEST'
          7        FETCH_DIM_FUNC_ARG                               $2      $1, 'pass'
          8        SEND_FUNC_ARG                                            $2
          9        DO_FCALL                                      0  $3      
         10        IS_EQUAL                                                 $3, 'pwning_the_phpreverse%21'
         11      > JMPZ                                                     ~4, ->14
   20    12    >   FETCH_CONSTANT                                   ~5      '__FLAG__'
         13        FREE                                                     ~5
   22    14    > > RETURN                                                   1

Function a:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SDB3D
function name:  a
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E > > RETURN                                                   null

End of function a

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.59 ms | 1395 KiB | 15 Q