Doc #80035 [Opn->Nab]: Mistake in explaining function operation
| From: | cmb@php.net | Date: | Sun, 30 Aug 2020 14:20:40 +0000 |
| Subject: | Doc #80035 [Opn->Nab]: Mistake in explaining function operation | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17837@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80035&edit=1
ID: 80035
Updated by: cmb@php.net
Reported by: victor dot dorado dot asensio at gmail dot com
Summary: Mistake in explaining function operation
-Status: Open
+Status: Not a bug
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
array_intersect() uses the values; array_intersect_assoc() also uses the keys.
Previous Comments:
------------------------------------------------------------------------
[2020-08-30 13:24:50] victor dot dorado dot asensio at gmail dot com
Description:
------------
---
From manual page: https://php.net/function.array-intersect-assoc
---
I think the correct phrase would be "Note that **the values** are also used in the comparison
unlike in array_intersect()."
("the values" instead of "the keys")
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80035&edit=1