3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text='UK"H+O%pSWh]UZ-T%UhRGzAGh '; for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } echo $outText; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/eHYQC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $text, !1 = $i, !2 = $outText, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'UK%22%1EH%2B%02%04O%25%03%13%1ApS%19Wh%5DUZ-%12%18T%25%03U%02hRG%08zAG%08h%0C'
    3     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->10
    4     3    >   FETCH_DIM_R                                      ~6      !0, !1
          4        STRLEN                                           ~7      !3
          5        MOD                                              ~8      !1, ~7
          6        FETCH_DIM_R                                      ~9      !3, ~8
          7        BW_XOR                                           ~10     ~6, ~9
          8        ASSIGN_OP                                     8          !2, ~10
    3     9        PRE_INC                                                  !1
         10    >   STRLEN                                           ~13     !0
         11        IS_SMALLER                                               !1, ~13
         12      > JMPNZ                                                    ~14, ->3
    6    13    >   ECHO                                                     !2
    7    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.78 ms | 1394 KiB | 13 Q