no need for pack() since php 5.0