[PHP] checking if any values in one array are in another

2006-06-12 Thread blackwater dev
Is there a single php function that will tell me if any values in one array are in another without looping through one of the arrays and doing in_array? Thanks!

RE: [PHP] checking if any values in one array are in another

2006-06-12 Thread Jay Blanchard
[snip] Is there a single php function that will tell me if any values in one array are in another without looping through one of the arrays and doing in_array? [/snip] You have read http://www.php.net/array right? http://www.php.net/manual/en/function.array-intersect-assoc.php -- PHP General

Re: [PHP] checking if any values in one array are in another

2006-06-12 Thread Jochem Maas
Jay Blanchard wrote: [snip] Is there a single php function that will tell me if any values in one array are in another without looping through one of the arrays and doing in_array? [/snip] You have read http://www.php.net/array right? rtm? thats for wimps ;-)