Doc #72201 [Opn->Ver]: The doc of the callback param of array_udiff_assoc is inaccurate
| From: | cmb@php.net | Date: | Tue, 02 Oct 2018 21:35:00 +0000 |
| Subject: | Doc #72201 [Opn->Ver]: The doc of the callback param of array_udiff_assoc is inaccurate | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16044@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72201&edit=1
ID: 72201
Updated by: cmb@php.net
Reported by: eran dot kornblau at kaltura dot com
Summary: The doc of the callback param of array_udiff_assoc
is inaccurate
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Arrays related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Same for array_udiff(), array_udiff_uassoc(), array_uintersect(),
array_uintersect_assoc() and array_uintersect_uassoc().
Previous Comments:
------------------------------------------------------------------------
[2016-05-11 17:54:50] eran dot kornblau at kaltura dot com
Description:
------------
Looking at the code, this function only cares whether the callback returns zero or nonzero, it does
not care whether the value is negative or positive like the docs say. This makes sense because this
function does not involve any ordering, only comparison of elements
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72201&edit=1