#18649 [Opn->Csd]: Documentation for array_diff incomplete
| From: | nohn@php.net | Date: | Tue, 30 Jul 2002 21:12:12 +0000 |
| Subject: | #18649 [Opn->Csd]: Documentation for array_diff incomplete | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-15625@lists.php.net to get a copy of this message | ||
ID: 18649
Updated by: nohn@php.net
Reported By: nohn@php.net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: All
PHP Version: 4CVS-2002-07-30
New Comment:
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a
documentation
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2002-07-30 09:48:01] nohn@php.net
It should be mentioned that array_diff only checks one dimension of an
n-dimensional array.
for example:
Array
(
[0] => Array
(
[0] => "test"
[1] => "lala"
)
)
is the same like
Array
(
[0] => Array
(
[0] => "test"
[1] => "bubu"
)
)
when checking Array with array_diff.
Only when checking Array[0] with array_diff it returns that the arrays
differ
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18649&edit=1