3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(pack('nnNNN', 0xda1a, // magic for validation intval(1) & 0xFFFF, // typeid intval(1) & 0xFFFFFFFF, // splitid 5000 >> 32, 5000 & 0xFFFFFFFF // actual item id ));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Wqech
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'bin2hex'
          1        INIT_FCALL                                               'pack'
          2        SEND_VAL                                                 'nnNNN'
    4     3        SEND_VAL                                                 55834
    5     4        CAST                                          4  ~0      1
          5        BW_AND                                           ~1      ~0, 65535
          6        SEND_VAL                                                 ~1
    6     7        CAST                                          4  ~2      1
          8        BW_AND                                           ~3      ~2, 4294967295
          9        SEND_VAL                                                 ~3
    7    10        SEND_VAL                                                 0
         11        SEND_VAL                                                 5000
         12        DO_ICALL                                         $4      
         13        SEND_VAR                                                 $4
         14        DO_ICALL                                         $5      
         15        ECHO                                                     $5
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1394 KiB | 17 Q