title: Unpacking a bitfield in php?
body: <p>Is this even possible? basically I have a c++ application which sends packed 32 bit integers to a web server. the php file queries the web server and retrieves a xml file containing all of this packed data, now knowing the format of this packed data isnt a problem, its just how can I make this usable?</p>
  
  <p>the data is made up of different types. some will be single bits, others will be 8 or 16 depending on what it is im storing</p>
  
  <p>any info on this would be greatly appreceated. thanks!</p>