3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.79 ms | 1393 KiB | 13 Q