note 119657 added to function.array-udiff
| From: | napcoder | Date: | Wed, 27 Jul 2016 08:38:44 +0000 |
| Subject: | note 119657 added to function.array-udiff | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206114@lists.php.net to get a copy of this message | ||
Note that the compare function is used also internally, to order the arrays and choose which element
compare against in the next round.
If your compare function is not really comparing (ie. returns 0 if elements are equals, 1
otherwise), you will receive an unexpected result.
----
Server IP: 83.137.20.135
Probable Submitter: 93.51.246.67
----
Manual Page -- http://php.net/manual/en/function.array-udiff.php
Edit -- https://master.php.net/note/edit/119657
Del: integrated -- https://master.php.net/note/delete/119657/integrated
Del: useless -- https://master.php.net/note/delete/119657/useless
Del: bad code -- https://master.php.net/note/delete/119657/bad+code
Del: spam -- https://master.php.net/note/delete/119657/spam
Del: non-english -- https://master.php.net/note/delete/119657/non-english
Del: in docs -- https://master.php.net/note/delete/119657/in+docs
Del: other reasons-- https://master.php.net/note/delete/119657
Reject -- https://master.php.net/note/reject/119657
Search -- https://master.php.net/manage/user-notes.php