note 103796 added to function.array-diff
| From: | Seb at osu1 dot php dot net | Date: | Wed, 04 May 2011 10:47:57 +0000 |
| Subject: | note 103796 added to function.array-diff | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179399@lists.php.net to get a copy of this message | ||
S Gower - very good point - if your first array has less values but has them included in the second
array - the result will be empty - so it's worth checking which one has more items first and
put it as first array.
----
Server IP: 69.147.83.197
Probable Submitter: 188.221.202.172
----
Manual Page -- http://www.php.net/manual/en/function.array-diff.php
Edit -- https://master.php.net/note/edit/103796
Del: integrated -- https://master.php.net/note/delete/103796/integrated
Del: useless -- https://master.php.net/note/delete/103796/useless
Del: bad code -- https://master.php.net/note/delete/103796/bad+code
Del: spam -- https://master.php.net/note/delete/103796/spam
Del: non-english -- https://master.php.net/note/delete/103796/non-english
Del: in docs -- https://master.php.net/note/delete/103796/in+docs
Del: other reasons-- https://master.php.net/note/delete/103796
Reject -- https://master.php.net/note/reject/103796
Search -- https://master.php.net/manage/user-notes.php