Re: cvs: php-src /ext/standard/tests/strings pack.phpt

From: Date: Tue, 21 Nov 2006 16:39:36 +0000
Subject: Re: cvs: php-src /ext/standard/tests/strings pack.phpt
References: 1 2 3 4 5 6 7 8 9  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41671@lists.php.net to get a copy of this message
> A programmer generally packs an INT not 32bit or 64bit int and in PHP > we don't fake overflow 64bit integers as a rule to simulate 32 bit > behavior, I see no reason why pack() should be an exception to this > rule. I think the exception is that pack options N is declared as always 32 bit, so why should it behave as 64bit. Thats the only reason for me, if it's no reason than it's okay to drop the overflow stuff, but please change the manual so it doesnt promise you an 32bit int as http://php.net/manual/en/function.pack.php does.

« previous php.cvs (#41671) next »