vrana Mon Dec 22 05:01:48 2003 EDT
Modified files:
/phpdoc/en/reference/array/functions uksort.xml
Log:
Definition of cmp_function
Index: phpdoc/en/reference/array/functions/uksort.xml
diff -u phpdoc/en/reference/array/functions/uksort.xml:1.9
phpdoc/en/reference/array/functions/uksort.xml:1.10
--- phpdoc/en/reference/array/functions/uksort.xml:1.9 Thu Dec 18 12:43:30 2003
+++ phpdoc/en/reference/array/functions/uksort.xml Mon Dec 22 05:01:48 2003
@@ -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>
@@ -22,6 +22,14 @@
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>
<programlisting role="php">