3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = unpack('Vint/Vint', hash_hmac('md5', str_pad(646, 4, '0', STR_PAD_LEFT), 'default', true)); print_r($array); echo $array['int'] & 16;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sOgL9
function name:  (null)
number of ops:  24
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'unpack'
          1        SEND_VAL                                                 'Vint%2FVint'
          2        INIT_FCALL                                               'hash_hmac'
          3        SEND_VAL                                                 'md5'
          4        INIT_FCALL                                               'str_pad'
          5        SEND_VAL                                                 646
          6        SEND_VAL                                                 4
          7        SEND_VAL                                                 '0'
          8        SEND_VAL                                                 0
          9        DO_ICALL                                         $1      
         10        SEND_VAR                                                 $1
         11        SEND_VAL                                                 'default'
         12        SEND_VAL                                                 <true>
         13        DO_ICALL                                         $2      
         14        SEND_VAR                                                 $2
         15        DO_ICALL                                         $3      
         16        ASSIGN                                                   !0, $3
    6    17        INIT_FCALL                                               'print_r'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                                 
    7    20        FETCH_DIM_R                                      ~6      !0, 'int'
         21        BW_AND                                           ~7      ~6, 16
         22        ECHO                                                     ~7
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.06 ms | 1395 KiB | 21 Q