php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78403 array_diff() no longer explicitly mentions key preservation
Submitted: 2019-08-12 07:51 UTC Modified: -
From: roy-orbison at devo dot net dot au Assigned:
Status: Open Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: roy-orbison at devo dot net dot au
New email:
PHP Version: OS:

 

 [2019-08-12 07:51 UTC] roy-orbison at devo dot net dot au
Description:
------------
---
From manual page: https://php.net/function.array-diff
---

It's implied from the example, but should be stated clearly that keys of the values in the first array are used for constructing the resultant array, regardless of the keys' types.


Patches

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 09 09:01:26 2024 UTC