mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Adding note about sorting algorithm
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262372 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
585f7af4ee
commit
4f4310b1a9
1 changed files with 9 additions and 2 deletions
|
@ -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 @@ fruits[3] = orange
|
|||
<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
|
||||
|
|
Loading…
Reference in a new issue