Doc #52646 [Asn->Csd]: contradicting information regarding "sort_flags"

From: Date: Fri, 20 Aug 2010 05:29:21 +0000
Subject: Doc #52646 [Asn->Csd]: contradicting information regarding "sort_flags"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4900@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52646&edit=1 ID: 52646 Updated by: aharvey@php.net Reported by: alex dot schuch at gmx dot de Summary: contradicting information regarding "sort_flags" -Status: Assigned +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: -/- PHP Version: Irrelevant Assigned To: aharvey Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-08-20 07:29:18] aharvey@php.net Automatic comment from SVN on behalf of aharvey Revision: http://svn.php.net/viewvc/?view=revision&revision=302524 Log: Fix doc bug #52646 (contradicting information regarding "sort_flags"). ------------------------------------------------------------------------ [2010-08-20 07:25:20] aharvey@php.net Looks like the 5.0.2 changelog entry was inadvertently copied from another function's documentation. I'll get rid of it, since 5.2.9 is the right version. ------------------------------------------------------------------------ [2010-08-19 16:35:09] alex dot schuch at gmx dot de I forgot to mention the function I am talking about: http://www.php.net/manual/en/function.array-unique.php ------------------------------------------------------------------------ [2010-08-19 16:33:43] alex dot schuch at gmx dot de 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 this bug report at http://bugs.php.net/bug.php?id=52646&edit=1

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