|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
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
From manual page:

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.


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Apr 02 10:03:46 2023 UTC