dallas Sun Aug 17 02:15:41 2003 EDT Modified files: /phpdoc/en/reference/array/functions usort.xml Log: Fixing bug #25113. Index: phpdoc/en/reference/array/functions/usort.xml diff -u phpdoc/en/reference/array/functions/usort.xml:1.11 phpdoc/en/reference/array/functions/usort.xml:1.12 --- phpdoc/en/reference/array/functions/usort.xml:1.11 Mon Jun 16 08:03:39 2003 +++ phpdoc/en/reference/array/functions/usort.xml Sun Aug 17 02:15:41 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.usort"> <refnamediv> @@ -25,7 +25,7 @@ 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. + second. </para> <para> <note> @@ -149,7 +149,7 @@ $a[] = new TestObj("b"); $a[] = new TestObj("d"); -uasort($a, array ("TestObj", "cmp_obj")); +usort($a, array ("TestObj", "cmp_obj")); foreach ($a as $item) { print $item->name."\n";
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php