No one answered me on this one.
Any idea if there's a reason not to use htonl() and friends in pack()?
Is anyone using it here?


>Date: Thu, 22 Feb 2001 20:48:46 +0200
>To: Chris Schneider <[EMAIL PROTECTED]>
>From: Andi Gutmans <[EMAIL PROTECTED]>
>Subject: [PHP-DEV] pack()/unpack()
>It seems like pack()/unpack() has it's own endianess code instead of using 
>htonl(), htons().
>Is there a reason for this? It would be nice to fix this for 4.0.5 because 
>right now if you use pack() on Linux and unpack() on Solaris it doesn't 
>quite work.
>It seems to me as if fixing this shouldn't be too hard but of course it 
>would be best for the original author (Chris) to dive back into his code :)
>PHP Development Mailing List <>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to