mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Definition of cmp_function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147142 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
58158f9605
commit
b4833d1ae6
1 changed files with 9 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<!-- splitted from ./en/functions/array.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.uksort">
|
||||
<refnamediv>
|
||||
|
@ -21,6 +21,14 @@
|
|||
needs to be sorted by some non-trivial criteria, you should use
|
||||
this function.
|
||||
</para>
|
||||
<para>
|
||||
Function <parameter>cmp_function</parameter> should accept two
|
||||
parameters which will be filled by pairs of <parameter>array</parameter> keys.
|
||||
The comparison function must return an integer less than, equal
|
||||
to, or greater than zero if the first argument is considered to
|
||||
be respectively less than, equal to, or greater than the
|
||||
second.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>uksort</function> example</title>
|
||||
|
|
Loading…
Reference in a new issue