3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.87 ms | 1395 KiB | 15 Q