title: How to convert integer to 8bit binary data by using PHP?
body: <p>I need to convert integer to 8bit, but pack just only can convert to 16bit binary data.
  I search in Google and can not get anthing.
  can someone help?</p>