From b4833d1ae6b46bc4fdc7355d4fc138eaa91713cd Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 22 Dec 2003 10:01:48 +0000 Subject: [PATCH] Definition of cmp_function git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147142 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/uksort.xml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/reference/array/functions/uksort.xml b/reference/array/functions/uksort.xml index 1f7d3fad7f..a7f36b09ef 100644 --- a/reference/array/functions/uksort.xml +++ b/reference/array/functions/uksort.xml @@ -1,5 +1,5 @@ - + @@ -21,6 +21,14 @@ needs to be sorted by some non-trivial criteria, you should use this function. + + Function cmp_function should accept two + parameters which will be filled by pairs of array 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. + <function>uksort</function> example