3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = 'asdfasdfsadfsdafasdfsadfasdfasdf'; $iv = md5($key); $msg = "my message"; $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $msg, MCRYPT_MODE_CBC, $iv);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dam67
function name:  (null)
number of ops:  17
compiled vars:  !0 = $key, !1 = $iv, !2 = $msg, !3 = $encrypted
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'asdfasdfsadfsdafasdfsadfasdfasdf'
    4     1        INIT_FCALL                                               'md5'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    5     5        ASSIGN                                                   !2, 'my+message'
    6     6        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          7        FETCH_CONSTANT                                   ~8      'MCRYPT_RIJNDAEL_256'
          8        SEND_VAL_EX                                              ~8
          9        SEND_VAR_EX                                              !0
         10        SEND_VAR_EX                                              !2
         11        FETCH_CONSTANT                                   ~9      'MCRYPT_MODE_CBC'
         12        SEND_VAL_EX                                              ~9
         13        SEND_VAR_EX                                              !1
         14        DO_FCALL                                      0  $10     
         15        ASSIGN                                                   !3, $10
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
182.44 ms | 1394 KiB | 15 Q