Re: array diff with both values returned

From: Date: Mon, 09 May 2005 02:48:07 +0000
Subject: Re: array diff with both values returned
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-214736@lists.php.net to get a copy of this message
On Fri, May 6, 2005 7:03 am, blackwater dev said: > Hello, > > Is there a good way to get the difference in two arrays and have both > values returned? I know I can use array_dif to see what is in one and > not the other but...I need it to work a bit differently. I believe you want array_union followed by array_unique (or whatever those are called) -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#214736) next »