3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pk = hash_hmac( 'sha256', 'PUThttp://localhost:8080/moblee/ralf-api/api/v1_1/event/20140411app_mo165/info/[{"id":"9","language":"pt","sort":"4","active":1},{"id":"9","language":"en","sort":"4","active":1},{"id":"9","language":"es","sort":"4","active":1}]', hash( 'sha256', 'moblee' . hash( 'sha256', '20140411app_mo165mob@r4lf#lee' ) ) ); echo base64_encode( 'moblee:' . $pk );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WHlmp
function name:  (null)
number of ops:  21
compiled vars:  !0 = $pk
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'hash_hmac'
          1        SEND_VAL                                                 'sha256'
          2        SEND_VAL                                                 'PUThttp%3A%2F%2Flocalhost%3A8080%2Fmoblee%2Fralf-api%2Fapi%2Fv1_1%2Fevent%2F20140411app_mo165%2Finfo%2F%5B%7B%22id%22%3A%229%22%2C%22language%22%3A%22pt%22%2C%22sort%22%3A%224%22%2C%22active%22%3A1%7D%2C%7B%22id%22%3A%229%22%2C%22language%22%3A%22en%22%2C%22sort%22%3A%224%22%2C%22active%22%3A1%7D%2C%7B%22id%22%3A%229%22%2C%22language%22%3A%22es%22%2C%22sort%22%3A%224%22%2C%22active%22%3A1%7D%5D'
          3        INIT_FCALL                                               'hash'
          4        SEND_VAL                                                 'sha256'
          5        INIT_FCALL                                               'hash'
          6        SEND_VAL                                                 'sha256'
          7        SEND_VAL                                                 '20140411app_mo165mob%40r4lf%23lee'
          8        DO_ICALL                                         $1      
          9        CONCAT                                           ~2      'moblee', $1
         10        SEND_VAL                                                 ~2
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                         $4      
         14        ASSIGN                                                   !0, $4
    5    15        INIT_FCALL                                               'base64_encode'
         16        CONCAT                                           ~6      'moblee%3A', !0
         17        SEND_VAL                                                 ~6
         18        DO_ICALL                                         $7      
         19        ECHO                                                     $7
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.53 ms | 1395 KiB | 19 Q