#34773 [Opn->Bgs]: "0"=="00"
| From: | helly@php.net | Date: | Fri, 07 Oct 2005 06:26:40 +0000 |
| Subject: | #34773 [Opn->Bgs]: "0"=="00" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-86164@lists.php.net to get a copy of this message | ||
ID: 34773
Updated by: helly@php.net
Reported By: syre at citiz dot net
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: win2k
PHP Version: 5.0.5
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Both are convertible to integer 0. This behavior is documented.
Previous Comments:
------------------------------------------------------------------------
[2005-10-07 07:09:20] syre at citiz dot net
Description:
------------
"0" == "00"
this didn't mentioned in manual.
Reproduce code:
---------------
echo "0"=="00"?'true':'false';
Expected result:
----------------
false
Actual result:
--------------
true
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34773&edit=1