Doc #52646 [Opn->Asn]: contradicting information regarding "sort_flags"
| From: | aharvey@php.net | Date: | Fri, 20 Aug 2010 05:25:20 +0000 |
| Subject: | Doc #52646 [Opn->Asn]: contradicting information regarding "sort_flags" | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4898@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: Open
+Status: Assigned
Type: Documentation Problem
Package: Documentation problem
Operating System: -/-
PHP Version: Irrelevant
-Assigned To:
+Assigned To: aharvey
Block user comment: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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