ID:               18649
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to