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); return md5($hash); } echo('\n'); echo(MLencrypt('aaaa')); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AsuV3
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     '%5Cn'
   10     1        INIT_FCALL                                               'mlencrypt'
          2        SEND_VAL                                                 'aaaa'
          3        DO_FCALL                                      0  $0      
          4        ECHO                                                     $0
   11     5      > 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/AsuV3
function name:  MLencrypt
number of ops:  25
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
    6    19    >   ECHO                                                     !1
    7    20        INIT_FCALL                                               'md5'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $13     
         23      > RETURN                                                   $13
    8    24*     > RETURN                                                   null

End of function mlencrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.97 ms | 1399 KiB | 18 Q