Re: array_diff not working with last element different
| From: | Stig Venaas | Date: | Tue, 27 Aug 2002 14:17:39 +0000 |
| Subject: | Re: array_diff not working with last element different | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87529@lists.php.net to get a copy of this message | ||
On Tue, Aug 27, 2002 at 05:04:41PM +0300, Andrey Hristov wrote:
> so, is there need of array_adiff()?
Right, it should then work on ordered pairs, right? Only remove
(key, value) pair from 1st array if it exists in any of the others?
Same goes for array_intersect... I'm not sure if there is that much
of a need, but if there is one could either have new associative
ones, or flags to the existing ones. But first we should see if
there is a real need, then we need to see if someone will implent it.
Stig