3v4l.org

run code in 300+ PHP versions simultaneously
<?php $privateKey = 'a8d9d8ad02f36b7845035b3b7df57b96'; echo $correctToken = hash_hmac('sha256', $this->getRequest()->getMethod() . urldecode('http://mjanik.vgnett.no/rose/rest/api/v1/customer'), $privateKey);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DDvMV
function name:  (null)
number of ops:  18
compiled vars:  !0 = $privateKey, !1 = $correctToken
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a8d9d8ad02f36b7845035b3b7df57b96'
    5     1        INIT_FCALL                                               'hash_hmac'
          2        SEND_VAL                                                 'sha256'
          3        FETCH_THIS                                       $3      
          4        INIT_METHOD_CALL                                         $3, 'getRequest'
          5        DO_FCALL                                      0  $4      
          6        INIT_METHOD_CALL                                         $4, 'getMethod'
          7        DO_FCALL                                      0  $5      
          8        INIT_FCALL                                               'urldecode'
          9        SEND_VAL                                                 'http%3A%2F%2Fmjanik.vgnett.no%2Frose%2Frest%2Fapi%2Fv1%2Fcustomer'
         10        DO_ICALL                                         $6      
         11        CONCAT                                           ~7      $5, $6
         12        SEND_VAL                                                 ~7
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $8      
         15        ASSIGN                                           ~9      !1, $8
         16        ECHO                                                     ~9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.89 ms | 1394 KiB | 17 Q