Doc #52646 [NEW]: contradicting information regarding "sort_flags"

From: Date: Thu, 19 Aug 2010 14:33:43 +0000
Subject: Doc #52646 [NEW]: contradicting information regarding "sort_flags"
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4896@lists.php.net to get a copy of this message
From: Operating system: -/- PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:contradicting information regarding "sort_flags" Description: ------------ The changelog says that in 5.0.2, $sort_flags accepts SORT_LOCALE_STRING. However, in 5.2.9, the parameter $sort_flags was added. So, does PHP 5.1 accept the $sort_flags parameter or not? Expected result: ---------------- My *guess* is that SORT_LOCALE_STRING was added in 5.0.2 for sort(). But as array_unique() got its $sort_flags parameter much later in 5.2.9, this piece of information is not relevant here. Remove the 5.0.2 line from the changelog for array_unique(). -- Edit bug report at http://bugs.php.net/bug.php?id=52646&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52646&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52646&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52646&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52646&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52646&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52646&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52646&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52646&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52646&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52646&r=support Expected behavior: http://bugs.php.net/fix.php?id=52646&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52646&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52646&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52646&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52646&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52646&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52646&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52646&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52646&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52646&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52646&r=mysqlcfg

« previous php.doc.bugs (#4896) next »