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."\n"; return md5($hash); } $a = 'MLencrypt'; echo $$a('1234567890123456');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7cJX9
function name:  (null)
number of ops:  7
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, 'MLencrypt'
   11     1        FETCH_R                      local               ~2      !0
          2        INIT_DYNAMIC_CALL                                        ~2
          3        SEND_VAL_EX                                              '1234567890123456'
          4        DO_FCALL                                      0  $3      
          5        ECHO                                                     $3
          6      > 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/7cJX9
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
    6    19    >   CONCAT                                           ~13     !1, '%0A'
         20        ECHO                                                     ~13
    7    21        INIT_FCALL                                               'md5'
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                         $14     
         24      > RETURN                                                   $14
    8    25*     > RETURN                                                   null

End of function mlencrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.41 ms | 1388 KiB | 17 Q