3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'xujia'; $suffix = 'aaaaaa'; $text .= $suffix; $key = 'aaa'; $crypttext = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $text, MCRYPT_MODE_ECB); $result = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $crypttext, MCRYPT_MODE_ECB); var_dump($result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/W3gAC
function name:  (null)
number of ops:  26
compiled vars:  !0 = $text, !1 = $suffix, !2 = $key, !3 = $crypttext, !4 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'xujia'
    3     1        ASSIGN                                                   !1, 'aaaaaa'
    4     2        ASSIGN_OP                                     8          !0, !1
    5     3        ASSIGN                                                   !2, 'aaa'
    6     4        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          5        FETCH_CONSTANT                                   ~9      'MCRYPT_RIJNDAEL_256'
          6        SEND_VAL_EX                                              ~9
          7        SEND_VAR_EX                                              !2
          8        SEND_VAR_EX                                              !0
          9        FETCH_CONSTANT                                   ~10     'MCRYPT_MODE_ECB'
         10        SEND_VAL_EX                                              ~10
         11        DO_FCALL                                      0  $11     
         12        ASSIGN                                                   !3, $11
    7    13        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
         14        FETCH_CONSTANT                                   ~13     'MCRYPT_RIJNDAEL_256'
         15        SEND_VAL_EX                                              ~13
         16        SEND_VAR_EX                                              !2
         17        SEND_VAR_EX                                              !3
         18        FETCH_CONSTANT                                   ~14     'MCRYPT_MODE_ECB'
         19        SEND_VAL_EX                                              ~14
         20        DO_FCALL                                      0  $15     
         21        ASSIGN                                                   !4, $15
    8    22        INIT_FCALL                                               'var_dump'
         23        SEND_VAR                                                 !4
         24        DO_ICALL                                                 
    9    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.86 ms | 1395 KiB | 15 Q