Ask a Question related to PHP Bugs, Design and Development.
-
derick@php.net #1
#39195 [Opn->Bgs]: if (0=="any sting") echo "it's return true";
ID: 39195
Updated by: [email]derick@php.net[/email]
Reported By: waynewn at citiz dot net
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: win/freebsd
PHP Version: 5.1.6
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]
..
Previous Comments:
------------------------------------------------------------------------
[2006-10-19 07:33:08] waynewn at citiz dot net
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 this bug report at [url]http://bugs.php.net/?id=39195&edit=1[/url]
derick@php.net Guest
-
#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... -
CFINPUT type="radio" w/ "value" requires "label"
On a Flash form, when you specify type='radio' and value='whatever', the value of the 'value' attribute will be displayed as a label if no 'label'... -
Acrobat Form Submit error: changes VALUE="true" to "0"
I wrote an HTML page with a form. In the form I had many inputs as in: <INPUT TYPE="radio" NAME="Q1" VALUE="true"> and <INPUT TYPE="radio"... -
#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... -
#26162 [Opn->Bgs]: $a="0abcdefg";if ($a==0) echo "OK"; result is "OK" ?!
ID: 26162 Updated by: didou@php.net Reported By: zhuminglun at yahoo dot com dot cn -Status: Open +Status: ...



Reply With Quote

