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); return md5($hash); } $a = 'MLencrypt'; ${$a} = create_function('$pass','return $pass;'); $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UqsTb
function name:  (null)
number of ops:  8
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ASSIGN                                                   !0, 'MLencrypt'
   10     1        INIT_FCALL_BY_NAME                                       'create_function'
          2        SEND_VAL_EX                                              '%24pass'
          3        SEND_VAL_EX                                              'return+%24pass%3B'
          4        DO_FCALL                                      0  $3      
          5        FETCH_W                      local               $2      !0
          6        ASSIGN                                                   $2, $3
   11     7      > 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/UqsTb
function name:  MLencrypt
number of ops:  24
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    >   INIT_FCALL                                               'md5'
         20        SEND_VAR                                                 !1
         21        DO_ICALL                                         $13     
         22      > RETURN                                                   $13
    7    23*     > RETURN                                                   null

End of function mlencrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.92 ms | 1388 KiB | 17 Q