Re: Bug #1259 Updated: Double in a string comparision bug after conve
| From: | Manuel Lemos | Date: | Tue, 23 Mar 1999 16:21:34 +0000 |
| Subject: | Re: Bug #1259 Updated: Double in a string comparision bug after conve | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-4742@lists.php.net to get a copy of this message | ||
Hello Bug,
On 23-Mar-99 07:03:44, you wrote:
>ID: 1259
>Updated by: rasmus
>Reported By: mlemos@acm.org
>Status: Closed
>Bug Type: Misbehaving function
>Assigned To:
>Comments:
>That example is way too cryptic. I doubt there is a bug here, but if there
>is, demonstrate it in a simple and concise manner instead of this gobblygook.
You're right, with my example it is not obvious that there is a bug there.
My example was more about showing how I got there, but there is a simple
and obvious way to show there is a bug. Just run this:
echo "1."=="1";
it outputs 1 but it should output 0 because as strings "1." and "1" are
different.
Shall I post the report again or this is enough for you to fix the bug?
Regards,
Manuel Lemos
E-mail: mlemos@acm.org
URL: http://www.e-na.net/the_author.html
PGP key: finger://mlemos@zeus.ci.ua.pt
--
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net