php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #69401 [ZH] Sort order description incorrect for sort()
Submitted: 2015-04-09 02:04 UTC Modified: 2015-09-21 13:01 UTC
From: xjw dot 1990 at 163 dot com Assigned: jhdxr (profile)
Status: Closed Package: Translation problem
PHP Version: 5.6.7 OS:
Private report: No CVE-ID: None
 [2015-04-09 02:04 UTC] xjw dot 1990 at 163 dot com
Description:
------------
---
From manual page: http://www.php.net/array.sorting
---
The sort function is according to the order from low to high,http://php.net/manual/zh/array.sorting.php  Comparison of the ranking function is written according to the order from high to low, is wrong.

Test script:
---------------
The sort function is according to the order from low to high,http://php.net/manual/zh/array.sorting.php  Comparison of the ranking function is written according to the order from high to low, is wrong.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-09 14:24 UTC] cmb@php.net
Unfortunately, I'm not fully able to understand you. Do you think
there is a bug in the English documentation, or is it only about
the Zhōngwén translation?
 [2015-04-09 14:29 UTC] salathe@php.net
-Summary: The online manual there is a mistake +Summary: [ZH] Sort order description incorrect for sort() -Package: Documentation problem +Package: Translation problem
 [2015-08-22 16:20 UTC] jhdxr@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: jhdxr
 [2015-09-21 13:01 UTC] jhdxr@php.net
-Status: Verified +Status: Closed
 [2015-09-21 13:01 UTC] jhdxr@php.net
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.


 [2015-09-21 13:10 UTC] jhdxr@php.net
Automatic comment from SVN on behalf of jhdxr
Revision: http://svn.php.net/viewvc/?view=revision&revision=337886
Log: Fixed bug #69401 [ZH] Sort order description incorrect for sort()
 [2020-12-30 10:47 UTC] nikic@php.net
Automatic comment on behalf of jhdxr
Revision: http://git.php.net/?p=doc/zh.git;a=commit;h=33bb579df5abed4f59080a817be773eb4dbba0b3
Log: Fixed bug #69401 [ZH] Sort order description incorrect for sort()
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Mar 20 20:03:44 2023 UTC