ID: 37972 Updated by: [EMAIL PROTECTED] Reported By: perrick at noparking dot net -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2006-06-30 07:53:15] perrick at noparking dot net I kind of inverted the "Expected result" and the "Actual result" in my report. Sorry about this. ------------------------------------------------------------------------ [2006-06-30 07:50:17] perrick at noparking dot net Description: ------------ The french translation for the documentation of "array_multisort" contains an error leading to a lot of confusion. Reproduce code: --------------- Here's the english part : // Sort the data with volume descending, edition ascending // Add $data as the last parameter, to sort by the common key array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data); Expected result: ---------------- Here's the french translation : // Tri les données par volume décroissant, edition croissant // Ajoute $data en tant que premier paramètre, pour trier par la clé commune array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data); Actual result: -------------- And finally what I was expecting : // Tri les données par volume décroissant, edition croissant // Ajoute $data en tant que dernier paramètre, pour trier par la clé commune array_multisort($volume, SORT_DESC, $edition, SORT_ASC, $data); The difference : "dernier" and "premier". Their meaning are very different (ie. opposite ;-) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37972&edit=1