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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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 26 19:01:29 2024 UTC