check if second array has all the values from the first element php code example
Example: check if second array has all the values from the first element php
$containsAllValues = !array_diff($search_this, $all);
$containsAllValues = !array_diff($search_this, $all);