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($CIP, $KEY, $item, $MOD)); } $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/DbQcV
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
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1320686422
    3     1        FETCH_CONSTANT                                   ~7      'MCRYPT_RIJNDAEL_128'
          2        ASSIGN                                                   !1, ~7
    4     3        FETCH_CONSTANT                                   ~9      'MCRYPT_MODE_ECB'
          4        ASSIGN                                                   !2, ~9
   10     5        ASSIGN                                                   !3, 3250390100187711498
   11     6        ASSIGN                                                   !4, 22327820
   13     7        INIT_FCALL                                               'encode'
          8        SEND_VAR                                                 !3
          9        DO_FCALL                                      0  $13     
         10        ASSIGN                                                   !5, $13
   14    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/DbQcV
function name:  encode
number of ops:  12
compiled vars:  !0 = $item, !1 = $CIP, !2 = $KEY, !3 = $MOD
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    6     0  E >   RECV                                             !0      
    7     1        INIT_FCALL                                               'base64_encode'
          2        INIT_FCALL_BY_NAME                                       'mcrypt_encrypt'
          3        SEND_VAR_EX                                              !1
          4        SEND_VAR_EX                                              !2
          5        SEND_VAR_EX                                              !0
          6        SEND_VAR_EX                                              !3
          7        DO_FCALL                                      0  $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10      > RETURN                                                   $5
    8    11*     > RETURN                                                   null

End of function encode

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.01 ms | 1398 KiB | 16 Q