3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = 'ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw%3D'; $lal = ''; $input = json_encode(array("showpassword"=>"no", "bgcolor"=>"#0000ff")); $output = base64_decode($arr); // Iterate through each character for($i=0;$i<strlen($input);$i++) { $key .= $input[$i] ^ $output[$i % strlen($output)]; } echo $key; ?>
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/gTbm7
function name:  (null)
number of ops:  24
compiled vars:  !0 = $arr, !1 = $lal, !2 = $input, !3 = $output, !4 = $i, !5 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw%253D'
    4     1        ASSIGN                                                   !1, ''
    5     2        INIT_FCALL                                               'json_encode'
          3        SEND_VAL                                                 <array>
          4        DO_ICALL                                         $8      
          5        ASSIGN                                                   !2, $8
    8     6        INIT_FCALL                                               'base64_decode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $10     
          9        ASSIGN                                                   !3, $10
   12    10        ASSIGN                                                   !4, 0
         11      > JMP                                                      ->19
   13    12    >   FETCH_DIM_R                                      ~13     !2, !4
         13        STRLEN                                           ~14     !3
         14        MOD                                              ~15     !4, ~14
         15        FETCH_DIM_R                                      ~16     !3, ~15
         16        BW_XOR                                           ~17     ~13, ~16
         17        ASSIGN_OP                                     8          !5, ~17
   12    18        PRE_INC                                                  !4
         19    >   STRLEN                                           ~20     !2
         20        IS_SMALLER                                               !4, ~20
         21      > JMPNZ                                                    ~21, ->12
   16    22    >   ECHO                                                     !5
   17    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.47 ms | 1395 KiB | 17 Q