From:             md5 at pf dot pl
Operating system: 
PHP version:      5CVS-2003-10-02 (dev)
PHP Bug Type:     Feature/Change Request
Bug description:  '1d1' == '1e1' ??

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

Reply via email to