3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base64_encode( hash_hmac( 'sha512', 'VB-TIER1-NON-US' . \json_encode(['order_id' => 1000001067]) . 'VB-TIER1-NON-US', '04ea9fb0-1c90-4b32-929a-0767126820ea' ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SpStL
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'base64_encode'
    5     1        INIT_FCALL                                               'hash_hmac'
    6     2        SEND_VAL                                                 'sha512'
    7     3        INIT_FCALL                                               'json_encode'
          4        SEND_VAL                                                 <array>
          5        DO_ICALL                                         $0      
          6        CONCAT                                           ~1      'VB-TIER1-NON-US', $0
          7        CONCAT                                           ~2      ~1, 'VB-TIER1-NON-US'
          8        SEND_VAL                                                 ~2
    8     9        SEND_VAL                                                 '04ea9fb0-1c90-4b32-929a-0767126820ea'
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
   10    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.83 ms | 1394 KiB | 19 Q