3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('__FLAG__','3xZG{dgznclXAwFVCUHPMWFViZBDSsltxKdrvFBVYHSr1}'); function stypr_crypt($_0){$_1 = $_2 = $_3 = array(); $_4 =array('?','(','@', ';', '$','#', ']', '&', '*'); $_4 = array_merge($_4,range('a','z'),range('0','9'),range('A','Z')); $_4 = array_merge($_4,array('!', ')', '_', '+', '|', '%', '/', '[', '.', ' ')); $_5=9; $_6=0; for($_5=9,$_6=0;$_6 < $_5;$_6++){ } } if(__FLAG__ === stypr_crypt(stypr_crypt(stypr_crypt($_GET['flag'])))) echo 'Correct!'; else echo 'Incorrect..'; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 18, Position 2 = 20
Branch analysis from position: 18
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ovn6h
function name:  (null)
number of ops:  22
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'define'
          1        SEND_VAL                                                 '__FLAG__'
          2        SEND_VAL                                                 '3xZG%7BdgznclXAwFVCUHPMWFViZBDSsltxKdrvFBVYHSr1%7D'
          3        DO_ICALL                                                 
    6     4        FETCH_CONSTANT                                   ~1      '__FLAG__'
          5        INIT_FCALL                                               'stypr_crypt'
          6        INIT_FCALL                                               'stypr_crypt'
          7        INIT_FCALL                                               'stypr_crypt'
          8        FETCH_R                      global              ~2      '_GET'
          9        FETCH_DIM_R                                      ~3      ~2, 'flag'
         10        SEND_VAL                                                 ~3
         11        DO_FCALL                                      0  $4      
         12        SEND_VAR                                                 $4
         13        DO_FCALL                                      0  $5      
         14        SEND_VAR                                                 $5
         15        DO_FCALL                                      0  $6      
         16        IS_IDENTICAL                                             $6, ~1
         17      > JMPZ                                                     ~7, ->20
    7    18    >   ECHO                                                     'Correct%21'
         19      > JMP                                                      ->21
    9    20    >   ECHO                                                     'Incorrect..'
   15    21    > > RETURN                                                   1

Function stypr_crypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 35
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 34
Branch analysis from position: 37
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 37, Position 2 = 34
Branch analysis from position: 37
Branch analysis from position: 34
filename:       /in/ovn6h
function name:  stypr_crypt
number of ops:  38
compiled vars:  !0 = $_0, !1 = $_1, !2 = $_2, !3 = $_3, !4 = $_4, !5 = $_5, !6 = $_6
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        ASSIGN                                           ~7      !3, <array>
          2        ASSIGN                                           ~8      !2, ~7
          3        ASSIGN                                                   !1, ~8
          4        ASSIGN                                                   !4, <array>
          5        INIT_FCALL                                               'array_merge'
          6        SEND_VAR                                                 !4
          7        INIT_FCALL                                               'range'
          8        SEND_VAL                                                 'a'
          9        SEND_VAL                                                 'z'
         10        DO_ICALL                                         $11     
         11        SEND_VAR                                                 $11
         12        INIT_FCALL                                               'range'
         13        SEND_VAL                                                 '0'
         14        SEND_VAL                                                 '9'
         15        DO_ICALL                                         $12     
         16        SEND_VAR                                                 $12
         17        INIT_FCALL                                               'range'
         18        SEND_VAL                                                 'A'
         19        SEND_VAL                                                 'Z'
         20        DO_ICALL                                         $13     
         21        SEND_VAR                                                 $13
         22        DO_ICALL                                         $14     
         23        ASSIGN                                                   !4, $14
         24        INIT_FCALL                                               'array_merge'
         25        SEND_VAR                                                 !4
         26        SEND_VAL                                                 <array>
         27        DO_ICALL                                         $16     
         28        ASSIGN                                                   !4, $16
         29        ASSIGN                                                   !5, 9
         30        ASSIGN                                                   !6, 0
         31        ASSIGN                                                   !5, 9
         32        ASSIGN                                                   !6, 0
         33      > JMP                                                      ->35
         34    >   PRE_INC                                                  !6
         35    >   IS_SMALLER                                               !6, !5
         36      > JMPNZ                                                    ~23, ->34
         37    > > RETURN                                                   null

End of function stypr_crypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.6 ms | 1403 KiB | 22 Q