decbin() will convert an integer to it's corresponding binary
representation of 32 bits. Divide that into 4 groups and you have it
separated into bytes.
John Horton wrote:
> Is there any way of decomposing an integer into it's constituent bytes so
> that a new byte order can be created?
> John Horton
> Software Engineer
> BITbyBIT International Limited
> [EMAIL PROTECTED]
> Tel: + 44 (0) 1865 865400
> Fax: + 44 (0) 1865 865450
> Internet communications are not secure and BitbyBit does not accept any
> legal responsibility for the content of this message. Any views or opinions
> presented are solely those of the author and do not necessarily represent
> those of BitbyBit International Limited. If you have received this email in
> error, please reply to the sender or call +44(0)1865 865400 and delete all
> copies of this mail.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php