Ask a Question related to PHP Development, Design and Development.
-
didou@php.net #1
#26162 [Opn->Bgs]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
ID: 26162
Updated by: [email]didou@php.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 documentation 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]
didou@php.net Guest
-
#39195 [Opn->Bgs]: if (0=="any sting") echo "it's return true";
ID: 39195 Updated by: derick@php.net Reported By: waynewn at citiz dot net -Status: Open +Status: ... -
#39195 [NEW]: if (0=="any sting") echo "it's return true";
From: waynewn at citiz dot net Operating system: win/freebsd PHP version: 5.1.6 PHP Bug Type: Scripting Engine problem Bug... -
#26162 [NEW]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
From: zhuminglun at yahoo dot com dot cn Operating system: linux/win2000 PHP version: 4.3.4 PHP Bug Type: *General Issues... -
#12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug... -
"Start" "Program" "Menu" list is empty
For what ever reason my list of installed programs in my "Start" "Programs" menu is empty. Anyone know how to restore the list. Thanks for your...



Reply With Quote

