cvs: phpdoc /en/reference/array/functions sort.xml
| From: | Ken | Date: | Wed, 09 Jul 2008 22:23:41 +0000 |
| Subject: | cvs: phpdoc /en/reference/array/functions sort.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1853@lists.php.net to get a copy of this message | ||
kennyt Wed Jul 9 22:23:41 2008 UTC
Modified files:
/phpdoc/en/reference/array/functions sort.xml
Log:
Adding note about sorting algorithm
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/array/functions/sort.xml?r1=1.26&r2=1.27&diff_format=u
Index: phpdoc/en/reference/array/functions/sort.xml
diff -u phpdoc/en/reference/array/functions/sort.xml:1.26
phpdoc/en/reference/array/functions/sort.xml:1.27
--- phpdoc/en/reference/array/functions/sort.xml:1.26 Sun Dec 30 19:17:05 2007
+++ phpdoc/en/reference/array/functions/sort.xml Wed Jul 9 22:23:41 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.26 $ -->
-<refentry xml:id="function.sort" xmlns="http://docbook.org/ns/docbook">
+<!-- $Revision: 1.27 $ -->
+<refentry xml:id="function.sort" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>sort</refname>
<refpurpose>Sort an array</refpurpose>
@@ -129,6 +129,13 @@
<refsect1 role="notes">
&reftitle.notes;
¬e.no-key-association;
+ <note>
+ <simpara>
+ Like most PHP sorting functions, <function>sort</function> uses an
+ implementation of <link
+ xlink:href="&url.wiki.quicksort;">Quicksort</link>.
+ </simpara>
+ </note>
<warning>
<simpara>
Be careful when sorting arrays with mixed types values because