3v4l.org

run code in 300+ PHP versions simultaneously
<?php $KEY = 1320686422; $CIP = MCRYPT_RIJNDAEL_128; $MOD = MCRYPT_MODE_ECB; function encode($item) { return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, 1320686422, $item, MCRYPT_MODE_ECB)); } $fsc = 3250390100187711498; $id = 22327820; $encoded_fsc = encode($fsc); echo $encoded_fsc;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S5FIv
function name:  (null)
number of ops:  13
compiled vars:  !0 = $KEY, !1 = $CIP, !2 = $MOD, !3 = $fsc, !4 = $id, !5 = $encoded_fsc
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1320686422
    4     1        FETCH_CONSTANT                                   ~7      'MCRYPT_RIJNDAEL_128'
          2        ASSIGN                                                   !1, ~7
    5     3        FETCH_CONSTANT                                   ~9      'MCRYPT_MODE_ECB'
          4        ASSIGN                                                   !2, ~9
   11     5        ASSIGN                                                   !3, 3250390100187711498
   12     6        ASSIGN                                                   !4, 22327820
   14     7        INIT_FCALL                                               'encode'
          8        SEND_VAR                                                 !3
          9        DO_FCALL                                      0  $13     
         10        ASSIGN                                                   !5, $13
   15    11        ECHO                                                     !5
         12      > RETURN                                                   1

Function encode:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/S5FIv
function name:  encode
number of ops:  14
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        INIT_FCALL                                               'base64_encode'
          2        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          3        FETCH_CONSTANT                                   ~1      'MCRYPT_RIJNDAEL_128'
          4        SEND_VAL_EX                                              ~1
          5        SEND_VAL_EX                                              1320686422
          6        SEND_VAR_EX                                              !0
          7        FETCH_CONSTANT                                   ~2      'MCRYPT_MODE_ECB'
          8        SEND_VAL_EX                                              ~2
          9        DO_FCALL                                      0  $3      
         10        SEND_VAR                                                 $3
         11        DO_ICALL                                         $4      
         12      > RETURN                                                   $4
    9    13*     > RETURN                                                   null

End of function encode

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.96 ms | 1399 KiB | 16 Q