ID: 26162
Updated by: [email]didouphp.net[/email]
Reported By: zhuminglun at yahoo dot com dot cn
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: linux/win2000
PHP Version: 4.3.4
New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the doentation available at
[url]http://www.php.net/manual/[/url] and the instructions on how to report
a bug at [url]http://bugs.php.net/how-to-report.php[/url]

use === to compare


Previous Comments:
------------------------------------------------------------------------

[2003-11-07 06:35:44] zhuminglun at yahoo dot com dot cn

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 this bug report at [url]http://bugs.php.net/?id=26162&edit=1[/url]