3v4l.org

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

Function decrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/30Hm4
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 7.3.0