3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "YUc5c1lXMTFibVJ2"; $charset = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; for($j = 0; $j < 20; $j++) { //for($i = 0; $i < 63; $i++) //{ $out = ""; for($k = 0; $k < strlen($str); $k++) $out .= $charset[(strpos($charset, $str[$k]+31))%strlen($charset)]; echo sprintf("%s\n", $out); //} $charset = str_shuffle($charset); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 31
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 4
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 7
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 33, Position 2 = 4
Branch analysis from position: 33
Branch analysis from position: 4
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 7
Branch analysis from position: 21
Branch analysis from position: 7
filename:       /in/3ehmr
function name:  (null)
number of ops:  34
compiled vars:  !0 = $str, !1 = $charset, !2 = $j, !3 = $out, !4 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'YUc5c1lXMTFibVJ2'
    4     1        ASSIGN                                                   !1, '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->31
    9     4    >   ASSIGN                                                   !3, ''
   10     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->18
   11     7    >   INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !1
          9        FETCH_DIM_R                                      ~10     !0, !4
         10        ADD                                              ~11     ~10, 31
         11        SEND_VAL                                                 ~11
         12        DO_ICALL                                         $12     
         13        STRLEN                                           ~13     !1
         14        MOD                                              ~14     $12, ~13
         15        FETCH_DIM_R                                      ~15     !1, ~14
         16        ASSIGN_OP                                     8          !3, ~15
   10    17        PRE_INC                                                  !4
         18    >   STRLEN                                           ~18     !0
         19        IS_SMALLER                                               !4, ~18
         20      > JMPNZ                                                    ~19, ->7
   12    21    >   INIT_FCALL                                               'sprintf'
         22        SEND_VAL                                                 '%25s%0A'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                         $20     
         25        ECHO                                                     $20
   14    26        INIT_FCALL                                               'str_shuffle'
         27        SEND_VAR                                                 !1
         28        DO_ICALL                                         $21     
         29        ASSIGN                                                   !1, $21
    6    30        PRE_INC                                                  !2
         31    >   IS_SMALLER                                               !2, 20
         32      > JMPNZ                                                    ~24, ->4
   15    33    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.45 ms | 1396 KiB | 19 Q