3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = 'POST 8d03746277e04e07fca4d2ecb533cb6f Tue, 17 Jun 2014 12:17:31 GMT'; $key = 'WFepNDcs8xwypK1sSc8J0xtWNIt/g917dZ21xtQdUCtCR5HazBLgiUnON0N91hVq9ImcC08XUlmyQ57PyNFHlM90e33PW7lB33anZpBT2RB5EVa2mb0TTcnLRGHzzFSA'; $hmac = hash_hmac('sha512', $input, $key, true); // true voor binary output echo base64_encode($hmac);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/G887l
function name:  (null)
number of ops:  14
compiled vars:  !0 = $input, !1 = $key, !2 = $hmac
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'POST%0A8d03746277e04e07fca4d2ecb533cb6f%0ATue%2C+17+Jun+2014+12%3A17%3A31+GMT'
    6     1        ASSIGN                                                   !1, 'WFepNDcs8xwypK1sSc8J0xtWNIt%2Fg917dZ21xtQdUCtCR5HazBLgiUnON0N91hVq9ImcC08XUlmyQ57PyNFHlM90e33PW7lB33anZpBT2RB5EVa2mb0TTcnLRGHzzFSA'
    8     2        INIT_FCALL                                               'hash_hmac'
          3        SEND_VAL                                                 'sha512'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 <true>
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !2, $5
    9     9        INIT_FCALL                                               'base64_encode'
         10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $7      
         12        ECHO                                                     $7
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.26 ms | 1385 KiB | 17 Q