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')); $arr = array("showpassword"=>"yes","bgcolor"=>"#ffffff"); $key = "qw8J"; $text = json_encode($arr); $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 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 9
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 9
Branch analysis from position: 19
Branch analysis from position: 9
filename:       /in/JX1MT
function name:  (null)
number of ops:  29
compiled vars:  !0 = $arr, !1 = $key, !2 = $text, !3 = $outText, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN                                                   !1, 'qw8J'
    7     2        INIT_FCALL                                               'json_encode'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $7      
          5        ASSIGN                                                   !2, $7
    8     6        ASSIGN                                                   !3, ''
   11     7        ASSIGN                                                   !4, 0
          8      > JMP                                                      ->16
   12     9    >   FETCH_DIM_R                                      ~11     !2, !4
         10        STRLEN                                           ~12     !1
         11        MOD                                              ~13     !4, ~12
         12        FETCH_DIM_R                                      ~14     !1, ~13
         13        BW_XOR                                           ~15     ~11, ~14
         14        ASSIGN_OP                                     8          !3, ~15
   11    15        PRE_INC                                                  !4
         16    >   STRLEN                                           ~18     !2
         17        IS_SMALLER                                               !4, ~18
         18      > JMPNZ                                                    ~19, ->9
   15    19    >   INIT_FCALL                                               'base64_encode'
         20        SEND_VAR                                                 !3
         21        DO_ICALL                                         $20     
         22        ECHO                                                     $20
   16    23        ECHO                                                     '%3Cbr%3E'
   17    24        INIT_FCALL                                               'base64_encode'
         25        SEND_VAL                                                 'natas11%3ASUIRtXqbB3tWzTOgTAX2t8UfMbYKrgp6'
         26        DO_ICALL                                         $21     
         27        ECHO                                                     $21
   19    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.84 ms | 1396 KiB | 17 Q