3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s=1; function password_md5_mess($pass) { $s=1 ; $split=(str_split(md5($pass),16)); md5($split[1]); //calculate MD5 on 2 (16 chars)) part of password return $s; } $password=password_md5_mess('12345'); echo $password; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P9YZR
function name:  (null)
number of ops:  7
compiled vars:  !0 = $s, !1 = $password
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
   10     1        INIT_FCALL                                               'password_md5_mess'
          2        SEND_VAL                                                 '12345'
          3        DO_FCALL                                      0  $3      
          4        ASSIGN                                                   !1, $3
   11     5        ECHO                                                     !1
   12     6      > RETURN                                                   1

Function password_md5_mess:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P9YZR
function name:  password_md5_mess
number of ops:  16
compiled vars:  !0 = $pass, !1 = $s, !2 = $split
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     1        ASSIGN                                                   !1, 1
    6     2        INIT_FCALL                                               'str_split'
          3        INIT_FCALL                                               'md5'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        SEND_VAL                                                 16
          8        DO_ICALL                                         $5      
          9        ASSIGN                                                   !2, $5
    7    10        INIT_FCALL                                               'md5'
         11        FETCH_DIM_R                                      ~7      !2, 1
         12        SEND_VAL                                                 ~7
         13        DO_ICALL                                                 
    8    14      > RETURN                                                   !1
    9    15*     > RETURN                                                   null

End of function password_md5_mess

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.06 ms | 1398 KiB | 18 Q