3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = 'GET|/service/game_world_stats|{"timestamp":"1407262832","action":"getPlayerCounts"}|';var_dump(substr(hash_hmac('sha512', $data, ''), 0, 16));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SYfZE
function name:  (null)
number of ops:  15
compiled vars:  !0 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'GET%7C%2Fservice%2Fgame_world_stats%7C%7B%22timestamp%22%3A%221407262832%22%2C%22action%22%3A%22getPlayerCounts%22%7D%7C'
          1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL                                               'substr'
          3        INIT_FCALL                                               'hash_hmac'
          4        SEND_VAL                                                 'sha512'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 ''
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        SEND_VAL                                                 0
         10        SEND_VAL                                                 16
         11        DO_ICALL                                         $3      
         12        SEND_VAR                                                 $3
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.7 ms | 1394 KiB | 19 Q