3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.6 ms | 1394 KiB | 15 Q