php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #41178 Document order-preserving property of array_intersect, array_diff
Submitted: 2007-04-24 13:12 UTC Modified: 2007-08-17 09:29 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: olafb at google dot com Assigned:
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant 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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: olafb at google dot com
New email:
PHP Version: OS:

 

 [2007-04-24 13:12 UTC] olafb at google dot com
Description:
------------
array_intersect and array_diff are implemented s.t. the order of the elements of the first array is preserved. If the implementors consider that a feature, it should be documented such that users can rely on it. Otherwise, it should be documented that no assumption about order-preservations should be made.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-17 09:29 UTC] vrana@php.net
No assumption is taken about this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 12:01:27 2024 UTC