3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo base64_encode( hash_hmac( 'sha512', 'VB-USA' . \json_encode(['order_id' => 1000001067]) . 'VB-USA', '6c5e27ca-fe94-4e2d-a940-ac7ba4fedd49' ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/211qo
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-USA', $0
          7        CONCAT                                           ~2      ~1, 'VB-USA'
          8        SEND_VAL                                                 ~2
    8     9        SEND_VAL                                                 '6c5e27ca-fe94-4e2d-a940-ac7ba4fedd49'
         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:
157.75 ms | 1398 KiB | 19 Q