3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userId = null; $token = null; $commands = '[{cmd:"mobile_init", "id":0}]'; echo hash_hmac('sha256', $userId.$token.$commands, 'ToyBlasT2014!_');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5Y2oe
function name:  (null)
number of ops:  12
compiled vars:  !0 = $userId, !1 = $token, !2 = $commands
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        ASSIGN                                                   !1, null
    5     2        ASSIGN                                                   !2, '%5B%7Bcmd%3A%22mobile_init%22%2C+%22id%22%3A0%7D%5D'
    7     3        INIT_FCALL                                               'hash_hmac'
          4        SEND_VAL                                                 'sha256'
          5        CONCAT                                           ~6      !0, !1
          6        CONCAT                                           ~7      ~6, !2
          7        SEND_VAL                                                 ~7
          8        SEND_VAL                                                 'ToyBlasT2014%21_'
          9        DO_ICALL                                         $8      
         10        ECHO                                                     $8
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.24 ms | 1394 KiB | 15 Q