Re: pack() and unpack() 64 bit format codes

From: Date: Tue, 09 Sep 2014 21:26:03 +0000
Subject: Re: pack() and unpack() 64 bit format codes
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-77121@lists.php.net to get a copy of this message
On 9 September 2014 21:16, Andrea Faulds <ajf@ajf.me> wrote: > > Why is there no big/little-endian signed long long? > I suppose you could argue that these count i - signed integer (machine dependent size and byte order) I - unsigned integer (machine dependent size and byte order) However they specify machine dependent size, and they do not increase to 64 bit on the average 64 bit system (sizeof(int) remains at 4 when sizeof(long) goes to 8 on my systems). It's obviously possible to add signed variants, so I open the floor to the usual bikeshedding on what letters should be used, but I'd prefer to stick to translating the 32bit _specific_ behaviour to 64 bit for now, such was the goal of the PR.

« previous php.internals (#77121) next »