|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #67444 Incorrect Documentation.
Submitted: 2014-06-14 20:49 UTC Modified: 2017-01-28 12:35 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: timothymarois at gmail dot com Assigned:
Status: Open Package: Arrays related
PHP Version: 5.5.13 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: timothymarois at gmail dot com
New email:
PHP Version: OS:


 [2014-06-14 20:49 UTC] timothymarois at gmail dot com
From manual page:

on "Example #2 Sorting multi-dimensional array"
is the same exact thing as the one above "Example #1 Sorting multiple arrays"
- doesn't seem right, just repetitive documentation. 
"array_multisort" does "not" actually sort multi-dimensional arrays based on this documentation. 


$single1 = array(7,145,6,14,54);
$single2 = array(7,145,6,14,54);
$multi = array('one'=>array(7,145,6,14,54),'two'=>array(5,48,41,1,9,1));

// sorting 2 single arrays...

// sorting 2 single arrays (from a multi-dimensional array)... 
// is the exact same thing as above


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-28 12:35 UTC]
-Package: Documentation problem +Package: Arrays related
 [2022-12-02 10:32 UTC] sheyda dot babi5161 at gmail dot com
I'm having the same problem as the others. (
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 18:01:36 2024 UTC