ID: 30996 Updated by: [EMAIL PROTECTED] Reported By: mail at fallingarms dot de -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
Closing because its fixed in the english manual. The german doc team will update their translations when they have some time. Previous Comments: ------------------------------------------------------------------------ [2004-12-06 12:23:51] [EMAIL PROTECTED] Fixed in XML sources of English version in natsort() and natcasesort(). ------------------------------------------------------------------------ [2004-12-06 12:11:01] mail at fallingarms dot de 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 ------------------------------------------------------------------------ [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
