From: waynewn at citiz dot net
Operating system: win/freebsd
PHP version: 5.1.6
PHP Bug Type: Scripting Engine problem
Bug description: if (0=="any sting") echo "it's return true";

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 bug report at [url]http://bugs.php.net/?id=39195&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=39195&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=39195&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=39195&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=39195&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=39195&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=39195&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=39195&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=39195&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=39195&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=39195&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=39195&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=39195&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=39195&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=39195&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=39195&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=39195&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=39195&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=39195&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=39195&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=39195&r=mysqlcfg[/url]