3v4l.org

run code in 300+ PHP versions simultaneously
<?php $defaultdata = array( "showpassword"=>"no", "bgcolor"=>"#ffffff"); $x = json_encode($defaultdata); $y = base64_decode("ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw%3D"); $out = ''; for($i=0;$i<strlen($y);$i++){ $out .= $x[$i] ^ $y[$i]; } print $out; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 12
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 12
Branch analysis from position: 20
Branch analysis from position: 12
filename:       /in/7ipAI
function name:  (null)
number of ops:  22
compiled vars:  !0 = $defaultdata, !1 = $x, !2 = $y, !3 = $out, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'json_encode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $6      
          4        ASSIGN                                                   !1, $6
    4     5        INIT_FCALL                                               'base64_decode'
          6        SEND_VAL                                                 'ClVLIh4ASCsCBE8lAxMacFMZV2hdVVotEhhUJQNVAmhSEV4sFxFeaAw%253D'
          7        DO_ICALL                                         $8      
          8        ASSIGN                                                   !2, $8
    6     9        ASSIGN                                                   !3, ''
    7    10        ASSIGN                                                   !4, 0
         11      > JMP                                                      ->17
    8    12    >   FETCH_DIM_R                                      ~12     !1, !4
         13        FETCH_DIM_R                                      ~13     !2, !4
         14        BW_XOR                                           ~14     ~12, ~13
         15        ASSIGN_OP                                     8          !3, ~14
    7    16        PRE_INC                                                  !4
         17    >   STRLEN                                           ~17     !2
         18        IS_SMALLER                                               !4, ~17
         19      > JMPNZ                                                    ~18, ->12
   10    20    >   ECHO                                                     !3
   12    21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.45 ms | 1395 KiB | 17 Q