3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decryptIt($value) { // The decodeKey MUST match the encodeKey $decodeKey = '0z%E4!3I1C#5y@9&qTx@swGn@78ePqViI1C#5y@'; $decoded = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, md5($decodeKey), base64_decode($value), MCRYPT_MODE_CBC, md5(md5($decodeKey))), "\0"); return($decoded); } echo decryptIt('at0SI5eUOsHI/5Y+HmjRaI5HJZB+qyLyh+p5VnrRJSM=');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/35dkD
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'decryptit'
          1        SEND_VAL                                                 'at0SI5eUOsHI%2F5Y%2BHmjRaI5HJZB%2BqyLyh%2Bp5VnrRJSM%3D'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function decryptit:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/35dkD
function name:  decryptIt
number of ops:  30
compiled vars:  !0 = $value, !1 = $decodeKey, !2 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        ASSIGN                                                   !1, '0z%25E4%213I1C%235y%409%26qTx%40swGn%4078ePqViI1C%235y%40'
    6     2        INIT_FCALL                                               'rtrim'
          3        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
          4        FETCH_CONSTANT                                   ~4      'MCRYPT_RIJNDAEL_256'
          5        SEND_VAL_EX                                              ~4
          6        INIT_FCALL                                               'md5'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $5      
          9        SEND_VAR_NO_REF_EX                                       $5
         10        INIT_FCALL                                               'base64_decode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $6      
         13        SEND_VAR_NO_REF_EX                                       $6
         14        FETCH_CONSTANT                                   ~7      'MCRYPT_MODE_CBC'
         15        SEND_VAL_EX                                              ~7
         16        INIT_FCALL                                               'md5'
         17        INIT_FCALL                                               'md5'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $8      
         20        SEND_VAR                                                 $8
         21        DO_ICALL                                         $9      
         22        SEND_VAR_NO_REF_EX                                       $9
         23        DO_FCALL                                      0  $10     
         24        SEND_VAR                                                 $10
         25        SEND_VAL                                                 '%00'
         26        DO_ICALL                                         $11     
         27        ASSIGN                                                   !2, $11
    7    28      > RETURN                                                   !2
    8    29*     > RETURN                                                   null

End of function decryptit

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.48 ms | 1399 KiB | 20 Q