Re: [PHP4BETA] bugs and a leak
| From: | Rasmus Lerdorf | Date: | Thu, 13 Apr 2000 15:37:12 +0000 |
| Subject: | Re: [PHP4BETA] bugs and a leak | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-13503@lists.php.net to get a copy of this message | ||
> > The second one, while not giving the correct answer, does not leak. Should
> > not both of these do the same thing (without leaking memory..)?
>
> I've never been aware that PHP treats "f0" as a hex number. I think for
> hex numbers you always need to use 0x prefix.
It doesn't. His confusion is that the dechex() returns a string like 'f0'
and he is thinking that this string is actually a number, which of course
is not true.
-Rasmus