3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hmac = hash_hmac("sha1", 'abcdefg', '#0123455'); $token = sprintf("%1.1s%20.20s", '0', $hmac); var_export([$hmac, $token]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7Y2Ks
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hmac, !1 = $token
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'hash_hmac'
          1        SEND_VAL                                                 'sha1'
          2        SEND_VAL                                                 'abcdefg'
          3        SEND_VAL                                                 '%230123455'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    3     6        INIT_FCALL                                               'sprintf'
          7        SEND_VAL                                                 '%251.1s%2520.20s'
          8        SEND_VAL                                                 '0'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $4      
         11        ASSIGN                                                   !1, $4
    4    12        INIT_FCALL                                               'var_export'
         13        INIT_ARRAY                                       ~6      !0
         14        ADD_ARRAY_ELEMENT                                ~6      !1
         15        SEND_VAL                                                 ~6
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.18 ms | 1394 KiB | 19 Q