Is there anyway to compare arrays in php using an inbuilt function, short of doing some sort of loop?
$a1 = array(1,2,3); $a2 = array(1,2,3); if (array_are_
array_intersect() returns an array containing all the common values.