check if array value exists in another array php

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

Also in PHP: