cvs: phpdoc /en/reference/array/functions uksort.xml

From: Date: Mon, 03 Apr 2006 15:04:09 +0000
Subject: cvs: phpdoc /en/reference/array/functions uksort.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372565@lists.php.net to get a copy of this message
vrana Mon Apr 3 15:04:09 2006 UTC Modified files: /phpdoc/en/reference/array/functions uksort.xml Log: Typo in example (bug #36958) http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/array/functions/uksort.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc/en/reference/array/functions/uksort.xml diff -u phpdoc/en/reference/array/functions/uksort.xml:1.16 phpdoc/en/reference/array/functions/uksort.xml:1.17 --- phpdoc/en/reference/array/functions/uksort.xml:1.16 Fri Jul 1 13:07:47 2005 +++ phpdoc/en/reference/array/functions/uksort.xml Mon Apr 3 15:04:09 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uksort"> <refnamediv> @@ -43,7 +43,7 @@ if ($a == $b) { return 0; } - return ($a > $b) ? -1 : 1; + return ($a > $b) ? 1 : -1; } $a = array(4 => "four", 3 => "three", 20 => "twenty", 10 => "ten");

« previous php.doc (#969372565) next »