note 75870 added to function.array-diff
| From: | kitchin at osu1 dot php dot net | Date: | Tue, 19 Jun 2007 21:49:10 +0000 |
| Subject: | note 75870 added to function.array-diff | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-127801@lists.php.net to get a copy of this message | ||
Until recently, the description said:
"array_diff() returns an array containing all the values of array1 that are not present in any
of the other arguments. Note that keys are preserved."
Now it says:
"Compares array1 against array2 and returns the difference."
Now it's not clear what the optional arguments after the first two do. Also, the difference is
not symmetric in its arguments (that is array_intersect).
----
Server IP: 69.147.83.197
Probable Submitter: 76.5.85.94
----
Manual Page -- http://www.php.net/manual/en/function.array-diff.php
Edit -- https://master.php.net/note/edit/75870
Del: integrated -- https://master.php.net/note/delete/75870/integrated
Del: useless -- https://master.php.net/note/delete/75870/useless
Del: bad code -- https://master.php.net/note/delete/75870/bad+code
Del: spam -- https://master.php.net/note/delete/75870/spam
Del: non-english -- https://master.php.net/note/delete/75870/non-english
Del: in docs -- https://master.php.net/note/delete/75870/in+docs
Del: other reasons-- https://master.php.net/note/delete/75870
Reject -- https://master.php.net/note/reject/75870
Search -- https://master.php.net/manage/user-notes.php