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";

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][/url]
Try a CVS snapshot (PHP 4.4): [url][/url]
Try a CVS snapshot (PHP 5.2): [url][/url]
Try a CVS snapshot (PHP 6.0): [url][/url]
Fixed in CVS: [url][/url]
Fixed in release: [url][/url]
Need backtrace: [url][/url]
Need Reproduce Script: [url][/url]
Try newer version: [url][/url]
Not developer issue: [url][/url]
Expected behavior: [url][/url]
Not enough info: [url][/url]
Submitted twice: [url][/url]
register_globals: [url][/url]
PHP 3 support discontinued: [url][/url]
Daylight Savings: [url][/url]
IIS Stability: [url][/url]
Install GNU Sed: [url][/url]
Floating point limitations: [url][/url]
No Zend Extensions: [url][/url]
MySQL Configuration Error: [url][/url]