Want to shorten this code
if( (in_array('2', $values)) or (in_array('5', $values)) or (in_array('6', $values)) or (in_array('8', $values)) ){
echo 'contains 2 or 5 or 6 or 8';
}
Tried this
(in_array(array('2', '5', '6', '8'), $values, true))
but as i understand true is only if all the values exists in array
Please, advice