#25731 [Opn->Bgs]: '1d1' == '1e1' ??
| From: | sniper@php.net | Date: | Thu, 02 Oct 2003 14:39:16 +0000 |
| Subject: | #25731 [Opn->Bgs]: '1d1' == '1e1' ?? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-48438@lists.php.net to get a copy of this message | ||
ID: 25731
Updated by: sniper@php.net
Reported By: md5 at pf dot pl
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
PHP Version: 5CVS-2003-10-02 (dev)
New Comment:
I don't understand polish, but what I understood from the example, this
is bogus.
Previous Comments:
------------------------------------------------------------------------
[2003-10-02 10:22:42] md5 at pf dot pl
Description:
------------
na php5 otrzymuje dwa razy napis "ok"
$a = '1d1';
if($a == '1d1') print('ok');
if($a == '1e1') print('ok');
wyniak z tego ze:
'1d1' == '1e1'
i taki warunek:
if('1d1' == '1e1') print('ok');
takze pokazuje "ok"
Reproduce code:
---------------
if('1d1' == '1e1') print('ok');
else print('no');
Expected result:
----------------
powinno pojawic sie "no"
Actual result:
--------------
pojawia sie "ok"
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25731&edit=1