cvs: phpdoc /en/reference/array/functions array-unique.xml
| From: | Moriyoshi Koizumi | Date: | Sun, 17 May 2009 10:19:12 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions array-unique.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4028@lists.php.net to get a copy of this message | ||
moriyoshi Sun May 17 10:19:12 2009 UTC
Modified files:
/phpdoc/en/reference/array/functions array-unique.xml
Log:
* Update the document so it reflects the recent change.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/array-unique.xml?r1=1.22&r2=1.23&diff_format=u
Index: phpdoc/en/reference/array/functions/array-unique.xml
diff -u phpdoc/en/reference/array/functions/array-unique.xml:1.22
phpdoc/en/reference/array/functions/array-unique.xml:1.23
--- phpdoc/en/reference/array/functions/array-unique.xml:1.22 Thu Mar 26 01:34:09 2009
+++ phpdoc/en/reference/array/functions/array-unique.xml Sun May 17 10:19:11 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.22 $ -->
+<!-- $Revision: 1.23 $ -->
<refentry xml:id="function.array-unique" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_unique</refname>
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>array</type><methodname>array_unique</methodname>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>sort_flags</parameter><initializer>SORT_STRING</initializer></methodparam>
</methodsynopsis>
<para>
Takes an input <parameter>array</parameter> and returns a new array
@@ -106,7 +106,16 @@
<row>
<entry>5.2.9</entry>
<entry>
- Added the optional <parameter>sort_flags</parameter>.
+ Added the optional <parameter>sort_flags</parameter> defaulting
+ to SORT_REGULAR. Prior to 5.2.9, this function used to sort
+ the array with SORT_STRING internally.
+ </entry>
+ </row>
+ <row>
+ <entry>5.2.10</entry>
+ <entry>
+ Changed the default value of <parameter>sort_flags</parameter> back to
+ SORT_STRING.
</entry>
</row>
</tbody>