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

From: Date: Thu, 19 Aug 2010 14:35:10 +0000
Subject: Doc #52646 [Com]: contradicting information regarding "sort_flags"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4897@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 Comment by: alex dot schuch at gmx dot de Reported by: alex dot schuch at gmx dot de Summary: contradicting information regarding "sort_flags" Status: Open Type: Documentation Problem Package: Documentation problem Operating System: -/- PHP Version: Irrelevant Block user comment: N New Comment: I forgot to mention the function I am talking about: http://www.php.net/manual/en/function.array-unique.php Previous Comments: ------------------------------------------------------------------------ [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 (#4897) next »