Fwd: [PHP-DEV] pack()/unpack()

2001-02-24 Thread Andi Gutmans
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? Andi >Date: Thu, 22 Feb 2001 20:48:46 +0200 >To: Chris Schneider <[EMAIL PROTECTED]> >From: Andi Gutmans <[EMAIL PROTECTED]> >Cc: [EMAIL

[PHP-DEV] pack()/unpack()

2001-02-22 Thread Andi Gutmans
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