RE: [PHP] Forcing little endian with pack("d");

2002-03-22 Thread Mika Tuupola
On Fri, 22 Mar 2002, Mike Eynon wrote: > I have looked through the pack code in php-4.1.2. There appear to be no > other options other than what is documented on the php.net pack function > page. There appears to be no way of specifying endian-ness for floats or > doubles using pack. They are

RE: [PHP] Forcing little endian with pack("d");

2002-03-22 Thread Mike Eynon
I have looked through the pack code in php-4.1.2. There appear to be no other options other than what is documented on the php.net pack function page. There appears to be no way of specifying endian-ness for floats or doubles using pack. They are copied to the output stream using a simple mem