check if all of array in another array code example Example: check if array values exists in another array Click to copy$result = !empty(array_intersect($people, $criminals));