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_RIJNDAEL_128, $key, $str, MCRYPT_MODE_CBC, $iv ); } $Validation = "4/lOF/4ZMmdPxlFjZD63nA=="; $key = "E79C4DA4F94B86CBA5A81BA39FED083DBAF8BCE5"; $msg = decrypt(base64_decode($Validation),base64_encode($key)); echo "RrtCCwaNeKHrNK2CE8LKnOziIRdDZlRRITLFWRXl+vdZZUTFsxFhkemeT4f1epUY".$msg; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/84426
function name:  (null)
number of ops:  16
compiled vars:  !0 = $Validation, !1 = $key, !2 = $msg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, '4%2FlOF%2F4ZMmdPxlFjZD63nA%3D%3D'
    8     1        ASSIGN                                                   !1, 'E79C4DA4F94B86CBA5A81BA39FED083DBAF8BCE5'
    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        CONCAT                                           ~9      'RrtCCwaNeKHrNK2CE8LKnOziIRdDZlRRITLFWRXl%2BvdZZUTFsxFhkemeT4f1epUY', !2
         14        ECHO                                                     ~9
   13    15      > RETURN                                                   1

Function decrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/84426
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_RIJNDAEL_128'
         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:
145.48 ms | 1470 KiB | 18 Q