3v4l.org

run code in 300+ PHP versions simultaneously
<?php $privateKey = 'a8d9d8ad02f36b7845035b3b7df57b96'; echo 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/uhWp9
function name:  (null)
number of ops:  17
compiled vars:  !0 = $privateKey
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                                       $2      
          4        INIT_METHOD_CALL                                         $2, 'getRequest'
          5        DO_FCALL                                      0  $3      
          6        INIT_METHOD_CALL                                         $3, 'getMethod'
          7        DO_FCALL                                      0  $4      
          8        INIT_FCALL                                               'urldecode'
          9        SEND_VAL                                                 'http%3A%2F%2Fmjanik.vgnett.no%2Frose%2Frest%2Fapi%2Fv1%2Fcustomer'
         10        DO_ICALL                                         $5      
         11        CONCAT                                           ~6      $4, $5
         12        SEND_VAL                                                 ~6
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $7      
         15        ECHO                                                     $7
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.56 ms | 1394 KiB | 17 Q