If nothing intersects, then an empty array is returned. If you did this:
$array1 = array("red", "green", "yellow");
$array2 = array("green1", "blue", "black");
$result = array_intersect($array1, $array2);
print_r($result);
Your output would be:
Array() (which indicates it is an empty array)
But, if you did this:
$array1 = array("red", "green", "yellow");
$array2 = array("green", "blue", "black");
$result = array_intersect($array1, $array2);
print_r($result);
Your output would be:
Array ( [1] => green ) (since "green" intersects in the arrays)
The returned index is [1] because it is the [1] index in the first array ($array1)
And P.S. Post some of your code so we can actually help you with your example instead of just throwing out generic code...