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]))%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 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 4
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 4
Branch analysis from position: 32
Branch analysis from position: 4
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 7
Branch analysis from position: 20
Branch analysis from position: 7
filename:       /in/OrJlH
function name:  (null)
number of ops:  33
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                                                      ->30
    9     4    >   ASSIGN                                                   !3, ''
   10     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->17
   11     7    >   INIT_FCALL                                               'strpos'
          8        SEND_VAR                                                 !1
          9        FETCH_DIM_R                                      ~10     !0, !4
         10        SEND_VAL                                                 ~10
         11        DO_ICALL                                         $11     
         12        STRLEN                                           ~12     !1
         13        MOD                                              ~13     $11, ~12
         14        FETCH_DIM_R                                      ~14     !1, ~13
         15        ASSIGN_OP                                     8          !3, ~14
   10    16        PRE_INC                                                  !4
         17    >   STRLEN                                           ~17     !0
         18        IS_SMALLER                                               !4, ~17
         19      > JMPNZ                                                    ~18, ->7
   12    20    >   INIT_FCALL                                               'sprintf'
         21        SEND_VAL                                                 '%25s%0A'
         22        SEND_VAR                                                 !3
         23        DO_ICALL                                         $19     
         24        ECHO                                                     $19
   14    25        INIT_FCALL                                               'str_shuffle'
         26        SEND_VAR                                                 !1
         27        DO_ICALL                                         $20     
         28        ASSIGN                                                   !1, $20
    6    29        PRE_INC                                                  !2
         30    >   IS_SMALLER                                               !2, 20
         31      > JMPNZ                                                    ~23, ->4
   15    32    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.36 ms | 1396 KiB | 19 Q