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);
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Andrei Zmievski
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Hartmut Holzgraefe
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Stig Bakken
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jesus M. Castagnetto
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Egon Schmid
- Re: [PHP-DOC] cvs: phpdoc /en/functions array.x... Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Rasmus Lerdorf
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Rasmus Lerdorf
- Re: [PHP-DOC] cvs: phpdoc /en/functions array.x... Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jon Parise
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jeroen van Wolffelaar
- [PHP-DOC] cvs: phpdoc /en/functions array.xml Jeroen van Wolffelaar