3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($str, $key) { $iv = substr( md5("hacker",true), 0, 8 ); return mcrypt_decrypt(MCRYPT_BLOWFISH, $key, $str, MCRYPT_MODE_CBC, $iv ); } $Validation = "ZMmdPxlFjZD63nA=="; $key = "e79c4da4f94b86cba5a81ba39fed083dbaf8bcd5"; $msg = decrypt(base64_decode($Validation),base64_encode($key)); echo $msg; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XOZsa
function name:  (null)
number of ops:  15
compiled vars:  !0 = $Validation, !1 = $key, !2 = $msg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 'ZMmdPxlFjZD63nA%3D%3D'
    8     1        ASSIGN                                                   !1, 'e79c4da4f94b86cba5a81ba39fed083dbaf8bcd5'
    9     2        INIT_FCALL                                               'decrypt'
          3        INIT_FCALL                                               'base64_decode'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $5      
          6        SEND_VAR                                                 $5
          7        INIT_FCALL                                               'base64_encode'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                         $6      
         10        SEND_VAR                                                 $6
         11        DO_FCALL                                      0  $7      
         12        ASSIGN                                                   !2, $7
   12    13        ECHO                                                     !2
   13    14      > RETURN                                                   1

Function decrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XOZsa
function name:  decrypt
number of ops:  23
compiled vars:  !0 = $str, !1 = $key, !2 = $iv
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'md5'
          4        SEND_VAL                                                 'hacker'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        SEND_VAL                                                 0
          9        SEND_VAL                                                 8
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !2, $4
    4    12        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
         13        FETCH_CONSTANT                                   ~6      'MCRYPT_BLOWFISH'
         14        SEND_VAL_EX                                              ~6
         15        SEND_VAR_EX                                              !1
         16        SEND_VAR_EX                                              !0
         17        FETCH_CONSTANT                                   ~7      'MCRYPT_MODE_CBC'
         18        SEND_VAL_EX                                              ~7
         19        SEND_VAR_EX                                              !2
         20        DO_FCALL                                      0  $8      
         21      > RETURN                                                   $8
    5    22*     > RETURN                                                   null

End of function decrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.95 ms | 1398 KiB | 22 Q