3v4l.org

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

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

End of function decrypt

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.2 ms | 1390 KiB | 18 Q