3v4l.org

run code in 300+ PHP versions simultaneously
<?php $key = 'asdfasdfsadfsdafasdfsadfasdfasdf'; $iv = md5($key); $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/UkZJr
function name:  (null)
number of ops:  16
compiled vars:  !0 = $key, !1 = $iv, !2 = $encrypted, !3 = $msg
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        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          6        FETCH_CONSTANT                                   ~7      'MCRYPT_RIJNDAEL_256'
          7        SEND_VAL_EX                                              ~7
          8        SEND_VAR_EX                                              !0
          9        SEND_VAR_EX                                              !3
         10        FETCH_CONSTANT                                   ~8      'MCRYPT_MODE_CBC'
         11        SEND_VAL_EX                                              ~8
         12        SEND_VAR_EX                                              !1
         13        DO_FCALL                                      0  $9      
         14        ASSIGN                                                   !2, $9
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.99 ms | 1398 KiB | 15 Q