3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaultdata = array( "showpassword"=>"no", "bgcolor"=>"#FFFFFF"); $text = json_encode($defaultdata); $key = base64_decode('ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSMX4MNzF%2BaAw'); $outText = ''; 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 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 12
Branch analysis from position: 22
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 22, Position 2 = 12
Branch analysis from position: 22
Branch analysis from position: 12
filename:       /in/4WM8P
function name:  (null)
number of ops:  24
compiled vars:  !0 = $defaultdata, !1 = $text, !2 = $key, !3 = $outText, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    5     5        INIT_FCALL                                               'base64_decode'
          6        SEND_VAL                                                 'ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSMX4MNzF%252BaAw'
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !2, $8
    6     9        ASSIGN                                                   !3, ''
    8    10        ASSIGN                                                   !4, 0
         11      > JMP                                                      ->19
    9    12    >   FETCH_DIM_R                                      ~12     !1, !4
         13        STRLEN                                           ~13     !2
         14        MOD                                              ~14     !4, ~13
         15        FETCH_DIM_R                                      ~15     !2, ~14
         16        BW_XOR                                           ~16     ~12, ~15
         17        ASSIGN_OP                                     8          !3, ~16
    8    18        PRE_INC                                                  !4
         19    >   STRLEN                                           ~19     !1
         20        IS_SMALLER                                               !4, ~19
         21      > JMPNZ                                                    ~20, ->12
   12    22    >   ECHO                                                     !3
   14    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.39 ms | 1395 KiB | 17 Q