mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
Typo in example (bug #36958)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@210609 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
51080636d1
commit
49ad52325c
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ function cmp($a, $b)
|
|||
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");
|
||||
|
|
Loading…
Reference in a new issue