From: [EMAIL PROTECTED]
Operating system: All
PHP version: 4CVS-2002-07-30
PHP Bug Type: Documentation problem
Bug description: Documentation for array_diff incomplete
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 bug report at http://bugs.php.net/?id=18649&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=18649&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=18649&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=18649&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=18649&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18649&r=support
Expected behavior: http://bugs.php.net/fix.php?id=18649&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=18649&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=18649&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=18649&r=globals
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php