<?php $first = array(1,1,2,3,4); $second = array(1,2,3,4,5); echo count(array_intersect(array_unique($first), array_unique($second)));
You have javascript disabled. You will not be able to edit any code.