ID: 29075
Updated by: [EMAIL PROTECTED]
-Summary: strnatcmp('foo ', 'foo ') == -1
Reported By: oliver at burtchen dot com
-Status: Open
+Status: Verified
Bug Type: Strings related
-Operating System: Windows XP
+Operating System: *
-PHP Version: 4.3.7
+PHP Version: 4CVS, 5CVS
New Comment:
See also bug #19795 (there doesn't seem to be any test case for this
function..the one who fixes should add that too, I can't access CVS
atm)
Previous Comments:
------------------------------------------------------------------------
[2004-07-09 17:23:12] oliver at burtchen dot com
Description:
------------
strnatcmp('foo ', 'foo ') returns -1 and not 0 as expected. As far as I
can see, it depends on the trailling whitespace.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29075&edit=1