From: zhuminglun at yahoo dot com dot cn
Operating system: linux/win2000
PHP version: 4.3.4
PHP Bug Type: *General Issues
Bug description: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!

Description:
------------
$a="0abcdefg";
if ($a==0) echo "OK";

result is "OK" ?!

Reproduce code:
---------------
$a="0abcdefg";
if ($a==0) echo "OK";

Expected result:
----------------
Nothing output


--
Edit bug report at [url]http://bugs.php.net/?id=26162&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=26162&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=26162&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=26162&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=26162&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=26162&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=26162&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=26162&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=26162&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=26162&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=26162&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=26162&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=26162&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=26162&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=26162&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=26162&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=26162&r=float[/url]