$all = array
(
0 => 307,
1 => 157,
2 => 234,
3 => 200,
4 => 322,
5 => 324
);
$search_this = array
(
0 => 200,
1 => 234
);
I would like to find out if $all contains all $search_this values and return true or false.
Look at array_intersect().
Or for associative array, look at array_intersect_assoc().
Or for recursive compare of sub-arrays, try: