3v4l.org

run code in 300+ PHP versions simultaneously
<?php function decrypt($text) { return trim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, str_pad("$2015", 16), base64_decode($text), MCRYPT_MODE_ECB, mcrypt_create_iv(mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND))); } echo decrypt("rL+WUFdHDyNRKOtW1tl5KT/UQuxMCb4W62m9YrimTdg=");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HgTF5
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                               'decrypt'
          1        SEND_VAL                                                 'rL%2BWUFdHDyNRKOtW1tl5KT%2FUQuxMCb4W62m9YrimTdg%3D'
          2        DO_FCALL                                      0  $0      
          3        ECHO                                                     $0
          4      > RETURN                                                   1

Function decrypt:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HgTF5
function name:  decrypt
number of ops:  33
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'trim'
          2        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
          3        FETCH_CONSTANT                                   ~1      'MCRYPT_RIJNDAEL_256'
          4        SEND_VAL_EX                                              ~1
          5        INIT_FCALL                                               'str_pad'
          6        SEND_VAL                                                 '%242015'
          7        SEND_VAL                                                 16
          8        DO_ICALL                                         $2      
          9        SEND_VAR_NO_REF_EX                                       $2
         10        INIT_FCALL                                               'base64_decode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $3      
         13        SEND_VAR_NO_REF_EX                                       $3
         14        FETCH_CONSTANT                                   ~4      'MCRYPT_MODE_ECB'
         15        SEND_VAL_EX                                              ~4
         16        INIT_FCALL_BY_NAME                                       'mcrypt_create_iv'
         17        INIT_FCALL_BY_NAME                                       'mcrypt_get_iv_size'
         18        FETCH_CONSTANT                                   ~5      'MCRYPT_RIJNDAEL_256'
         19        SEND_VAL_EX                                              ~5
         20        FETCH_CONSTANT                                   ~6      'MCRYPT_MODE_ECB'
         21        SEND_VAL_EX                                              ~6
         22        DO_FCALL                                      0  $7      
         23        SEND_VAR_NO_REF_EX                                       $7
         24        FETCH_CONSTANT                                   ~8      'MCRYPT_RAND'
         25        SEND_VAL_EX                                              ~8
         26        DO_FCALL                                      0  $9      
         27        SEND_VAR_NO_REF_EX                                       $9
         28        DO_FCALL                                      0  $10     
         29        SEND_VAR                                                 $10
         30        DO_ICALL                                         $11     
         31      > RETURN                                                   $11
    5    32*     > RETURN                                                   null

End of function decrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.85 ms | 1398 KiB | 20 Q