cvs: phpdoc /en/functions array.xml

From: Date: Mon, 02 Jul 2001 16:52:11 +0000
Subject: cvs: phpdoc /en/functions array.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335815@lists.php.net to get a copy of this message
danbeck Mon Jul 2 12:52:11 2001 EDT Modified files: /phpdoc/en/functions array.xml Log: fixing usort example (oops) Index: phpdoc/en/functions/array.xml diff -u phpdoc/en/functions/array.xml:1.72 phpdoc/en/functions/array.xml:1.73 --- phpdoc/en/functions/array.xml:1.72 Sat Jun 23 16:10:51 2001 +++ phpdoc/en/functions/array.xml Mon Jul 2 12:52:10 2001 @@ -3062,7 +3062,7 @@ <programlisting role="php"> function cmp ($a, $b) { if ($a == $b) return 0; - return ($a > $b) ? -1 : 1; + return ($a < $b) ? -1 : 1; } $a = array (3, 2, 5, 6, 1);

« previous php.doc (#969335815) next »