Fwd: [PHP-DEV] pack()/unpack() From: Andi Gutmans (andi <email protected>)
Date: 02/24/01

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 <cschneid <email protected>>
>From: Andi Gutmans <andi <email protected>>
>Cc: php-dev <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 :)
>
>Andi
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>