pack()/unpack()
| From: | Andi Gutmans | Date: | Thu, 22 Feb 2001 18:48:46 +0000 |
| Subject: | pack()/unpack() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47278@lists.php.net to get a copy of this message | ||
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 :)
Andi