|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-30 17:12 UTC] nohn@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 12:00:01 2025 UTC |
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