I'm not sure if it's possible to do it with in_array. What I need is to verify that all given values exist in array. For example:
$a = array(1,2,3,4,5,6,7,8,9,10)
$b = array(1,2,3);
if(in_array($b, $a)) {
return true
} else {
return false
}
Note that all the values from $b must exist in $a in order to return true.