ID:               30996
 User updated by:  mail at fallingarms dot de
 Reported By:      mail at fallingarms dot de
 Status:           Open
 Bug Type:         Documentation problem
 Operating System: Irrelevant
 PHP Version:      Irrelevant
 New Comment:

In [1] the return value of natcasesort() is defined as "void". This
has
to be "bool".

 [1] http://de2.php.net/manual/en/function.natcasesort.php

The same with natsort().

In the german manual translation this bug is in every sort functions
reference:

krsort()      (int -> bool)
ksort()       (int -> bool)
natcasesort()
natsort()
rsort()
sort()
uasort()
uksort() 

Also the arrays passed by reference to these functions are not marked
with the "&" in the german transations.

Maybe other translations have these mistakes too..?

Basti


Previous Comments:
------------------------------------------------------------------------

[2004-12-06 12:02:50] mail at fallingarms dot de

Description:
------------
In [1] the return value of natcasesort() is defined as "void". This has
to be "bool".

 [1] http://de2.php.net/manual/en/function.natcasesort.php

The same with natsort().

In the german manual translation this bug is in every sort functions
reference:

krsort()      (int->bool)
ksort()       (int -> bool)
natcasesort()
natsort()
rsort()
sort()
uasort()
uksort() 

Maybe other translations have this mistake too..?

Basti



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30996&edit=1

Reply via email to