3v4l.org

run code in 300+ PHP versions simultaneously
<?php function MLencrypt($pass){ $hash = ''; for($i=0;$i<strlen($pass);$i++) $hash .= substr(md5($pass[$i]),($i%15),30); echo($hash); echo (' '); return md5($hash); } echo(MLencrypt('aaaa')); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sWImq
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   12     0  E >   INIT_FCALL                                               'mlencrypt'
          1        SEND_VAL                                                 'aaaa'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
   13     4      > RETURN                                                   1

Function mlencrypt:
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 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
filename:       /in/sWImq
function name:  MLencrypt
number of ops:  26
compiled vars:  !0 = $pass, !1 = $hash, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        ASSIGN                                                   !1, ''
    4     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->16
    5     4    >   INIT_FCALL                                               'substr'
          5        INIT_FCALL                                               'md5'
          6        FETCH_DIM_R                                      ~5      !0, !2
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        MOD                                              ~7      !2, 15
         11        SEND_VAL                                                 ~7
         12        SEND_VAL                                                 30
         13        DO_ICALL                                         $8      
         14        ASSIGN_OP                                     8          !1, $8
    4    15        PRE_INC                                                  !2
         16    >   STRLEN                                           ~11     !0
         17        IS_SMALLER                                               !2, ~11
         18      > JMPNZ                                                    ~12, ->4
    7    19    >   ECHO                                                     !1
    8    20        ECHO                                                     '+'
    9    21        INIT_FCALL                                               'md5'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $13     
         24      > RETURN                                                   $13
   10    25*     > RETURN                                                   null

End of function mlencrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.05 ms | 1398 KiB | 18 Q