#39195 [Opn->Bgs]: if (0=="any sting") echo "it's return true";
| From: | derick@php.net | Date: | Thu, 19 Oct 2006 07:36:50 +0000 |
| Subject: | #39195 [Opn->Bgs]: if (0=="any sting") echo "it's return true"; | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-103715@lists.php.net to get a copy of this message | ||
ID: 39195
Updated by: derick@php.net
Reported By: waynewn at citiz dot net
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: win/freebsd
PHP Version: 5.1.6
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
.
Previous Comments:
------------------------------------------------------------------------
[2006-10-19 07:33:08] waynewn at citiz dot net
Description:
------------
if (0=="any sting") echo "return true";
Reproduce code:
---------------
if (0=="any sting") echo "it's return true";
else echo "should be this"
Expected result:
----------------
should be this
Actual result:
--------------
it's return true
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39195&edit=1