#29075 [NEW]: strnatcmp('foo ', 'foo ') == -1

From: Date: Fri, 09 Jul 2004 15:23:12 +0000
Subject: #29075 [NEW]: strnatcmp('foo ', 'foo ') == -1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61960@lists.php.net to get a copy of this message
From: oliver at burtchen dot com Operating system: Windows XP PHP version: 4.3.7 PHP Bug Type: Strings related Bug description: strnatcmp('foo ', 'foo ') == -1 Description: ------------ strnatcmp('foo ', 'foo ') returns -1 and not 0 as expected. As far as I can see, it depends on the trailling whitespace. -- Edit bug report at http://bugs.php.net/?id=29075&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29075&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29075&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29075&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29075&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29075&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29075&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29075&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29075&r=support Expected behavior: http://bugs.php.net/fix.php?id=29075&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29075&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29075&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29075&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29075&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29075&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29075&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29075&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29075&r=float

« previous php.bugs (#61960) next »