Answers for "check if every element in array is the same with another array"

PHP
4

check if array values exists in another array

$result = !empty(array_intersect($people, $criminals));
Posted by: Guest on April-02-2020

Code answers related to "check if every element in array is the same with another array"

Browse Popular Code Answers by Language