check if array value exists in another array php
snippet in php

check if array value exists in another array php

user4614

$result = !empty(array_intersect($people, $criminals));