3v4l.org

run code in 300+ PHP versions simultaneously
<?php // echo base64_decode("ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSQg1/REUKaAw=") ^ '{"showpassword":"no","bgcolor":"#ffffff"}'; //echo json_encode(array('a'=>'b','c'=>'d')); $key = "qw8J"; $text = '{"showpassword":"yes","bgcolor":"#ffffff"}'; $outText = ''; // Iterate through each character for($i=0;$i<strlen($text);$i++) { $outText .= $text[$i] ^ $key[$i % strlen($key)]; } echo base64_encode($outText); echo "<br>"; echo base64_encode("natas11:SUIRtXqbB3tWzTOgTAX2t8UfMbYKrgp6"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 5
Branch analysis from position: 15
Branch analysis from position: 5
filename:       /in/BBbQt
function name:  (null)
number of ops:  25
compiled vars:  !0 = $key, !1 = $text, !2 = $outText, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'qw8J'
    6     1        ASSIGN                                                   !1, '%7B%22showpassword%22%3A%22yes%22%2C%22bgcolor%22%3A%22%23ffffff%22%7D'
    7     2        ASSIGN                                                   !2, ''
   10     3        ASSIGN                                                   !3, 0
          4      > JMP                                                      ->12
   11     5    >   FETCH_DIM_R                                      ~8      !1, !3
          6        STRLEN                                           ~9      !0
          7        MOD                                              ~10     !3, ~9
          8        FETCH_DIM_R                                      ~11     !0, ~10
          9        BW_XOR                                           ~12     ~8, ~11
         10        ASSIGN_OP                                     8          !2, ~12
   10    11        PRE_INC                                                  !3
         12    >   STRLEN                                           ~15     !1
         13        IS_SMALLER                                               !3, ~15
         14      > JMPNZ                                                    ~16, ->5
   14    15    >   INIT_FCALL                                               'base64_encode'
         16        SEND_VAR                                                 !2
         17        DO_ICALL                                         $17     
         18        ECHO                                                     $17
   15    19        ECHO                                                     '%3Cbr%3E'
   16    20        INIT_FCALL                                               'base64_encode'
         21        SEND_VAL                                                 'natas11%3ASUIRtXqbB3tWzTOgTAX2t8UfMbYKrgp6'
         22        DO_ICALL                                         $18     
         23        ECHO                                                     $18
   18    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.82 ms | 1395 KiB | 15 Q