ID:               28031
 Updated by:       [EMAIL PROTECTED]
 Reported By:      yiwakiri at st dot rim dot or dot jp
-Status:           Open
+Status:           Feedback
 Bug Type:         Scripting Engine problem
 Operating System: Windows 98
 PHP Version:      4.3.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip




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

[2004-04-16 20:05:20] yiwakiri at st dot rim dot or dot jp

Description:
------------
The results of comparison differ by Windows and unix.

Windows:
c:\> php -r "var_dump(('0d1' == '0d2'));"
bool(true)

Unix like OS:
% php -r "var_dump(('0d1' == '0d2'));"
bool(false)

I expect the same behavior for both.


Reproduce code:
---------------
c:\> php -r "var_dump(('0d1' == '0d2'));"

Expected result:
----------------
bool(false)

Actual result:
--------------
bool(true)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28031&edit=1

Reply via email to