3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user_id = 4; $result = rtrim(mcrypt_decrypt(MCRYPT_RIJNDAEL_256, "bite", base64_decode($user_id), MCRYPT_MODE_ECB), "\0"); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/0V2Dm
function name:  (null)
number of ops:  21
compiled vars:  !0 = $user_id, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 4
    4     1        INIT_FCALL                                               'rtrim'
          2        INIT_FCALL_BY_NAME                                       'mcrypt_decrypt'
          3        FETCH_CONSTANT                                   ~3      'MCRYPT_RIJNDAEL_256'
          4        SEND_VAL_EX                                              ~3
          5        SEND_VAL_EX                                              'bite'
          6        INIT_FCALL                                               'base64_decode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        SEND_VAR_NO_REF_EX                                       $4
         10        FETCH_CONSTANT                                   ~5      'MCRYPT_MODE_ECB'
         11        SEND_VAL_EX                                              ~5
         12        DO_FCALL                                      0  $6      
         13        SEND_VAR                                                 $6
         14        SEND_VAL                                                 '%00'
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !1, $7
    5    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                                 
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.48 ms | 1395 KiB | 19 Q