3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "POST\n/\n132fbf95-d58e-f9ed-86e8-48b76f901d91\nda390885-e72f-4a93-be7f-a90220bac5c7\n/provision/provision\n132fc751-9325-63d3-a605-f74e0c25192a\n2013-10-23T15:39:34.462Z\n{\"instance-id\":\"132fc751-9325-63d3-a605-f74e0c25192a\"}\n"; $secret = "97cfac6e-b061-4007-a03e-eb4bc199e620"; $sig = hash_hmac('sha256', $string, $secret); echo $sig;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Evlut
function name:  (null)
number of ops:  10
compiled vars:  !0 = $string, !1 = $secret, !2 = $sig
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'POST%0A%2F%0A132fbf95-d58e-f9ed-86e8-48b76f901d91%0Ada390885-e72f-4a93-be7f-a90220bac5c7%0A%2Fprovision%2Fprovision%0A132fc751-9325-63d3-a605-f74e0c25192a%0A2013-10-23T15%3A39%3A34.462Z%0A%7B%22instance-id%22%3A%22132fc751-9325-63d3-a605-f74e0c25192a%22%7D%0A'
    5     1        ASSIGN                                                   !1, '97cfac6e-b061-4007-a03e-eb4bc199e620'
    7     2        INIT_FCALL                                               'hash_hmac'
          3        SEND_VAL                                                 'sha256'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        DO_ICALL                                         $5      
          7        ASSIGN                                                   !2, $5
    9     8        ECHO                                                     !2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.11 ms | 1394 KiB | 15 Q