From: yiwakiri at st dot rim dot or dot jp
Operating system: Windows 98
PHP version: 4.3.6RC3
PHP Bug Type: Scripting Engine problem
Bug description: Results of comparison differ by Windows and unix.
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 bug report at http://bugs.php.net/?id=28031&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28031&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28031&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28031&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28031&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28031&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28031&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28031&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28031&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28031&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28031&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28031&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28031&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28031&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28031&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28031&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28031&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28031&r=float