#47518 [NEW]: Most sorting functions have no stability indicator
| From: | cweiske@php.net | Date: | Fri, 27 Feb 2009 08:21:39 +0000 |
| Subject: | #47518 [NEW]: Most sorting functions have no stability indicator | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-1919@lists.php.net to get a copy of this message | ||
From: cweiske@php.net
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Most sorting functions have no stability indicator
Description:
------------
The usort docs tell us:
"Note: If two members compare as equal, their order in the sorted array is
undefined."
Other functions do not do that. The docs of every sorting function should
state if the function is sort-stable or not.
--
Edit bug report at http://bugs.php.net/?id=47518&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47518&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47518&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47518&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47518&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47518&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47518&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47518&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47518&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47518&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47518&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47518&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47518&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47518&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47518&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47518&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47518&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47518&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47518&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47518&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47518&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47518&r=mysqlcfg