OK cool. Just checking...
At 11:02 AM 1/17/2006, Pierre wrote:
Hi Andi,
On Tue, 17 Jan 2006 10:55:54 -0800
Andi Gutmans <[EMAIL PROTECTED]> wrote:
> FYI, this actually breaks BC. A negative number evaluates to true. I
> don't think this change should be an issue but there might have been
> people who did a < 0 check before.
> Anyone got a problem with the change?
it is actually a bug, it is documented as follow:
"Returns FALSE if the allocation failed."
I actually thought it was the case, this commit fixed the functions.
A negative number is never returned, given the casting "problems", it is
a good thing.
--Pierre
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php