3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cipher = mcrypt_encrypt(MCRYPT_AES_256, md5('my-key'), 'Hello World'); $plain = mcrypt_decrypt(MCRYPT_AES_256, mdt('not-my-key'), $cipher); var_dump($plain);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dmvLH
function name:  (null)
number of ops:  24
compiled vars:  !0 = $cipher, !1 = $plain
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          1        FETCH_CONSTANT                                   ~2      'MCRYPT_AES_256'
          2        SEND_VAL_EX                                              ~2
          3        INIT_FCALL                                               'md5'
          4        SEND_VAL                                                 'my-key'
          5        DO_ICALL                                         $3      
          6        SEND_VAR_NO_REF_EX                                       $3
          7        SEND_VAL_EX                                              'Hello+World'
          8        DO_FCALL                                      0  $4      
          9        ASSIGN                                                   !0, $4
    4    10        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
         11        FETCH_CONSTANT                                   ~6      'MCRYPT_AES_256'
         12        SEND_VAL_EX                                              ~6
         13        INIT_FCALL_BY_NAME                                       'mdt'
         14        SEND_VAL_EX                                              'not-my-key'
         15        DO_FCALL                                      0  $7      
         16        SEND_VAR_NO_REF_EX                                       $7
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $8      
         19        ASSIGN                                                   !1, $8
    5    20        INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.44 ms | 1395 KiB | 17 Q