<?php $a = ['a', 'b', 'c', 'd']; $b = ['b', 'c', 'd', 'e', 'f']; var_dump(array_intersect($a, $b));
You have javascript disabled. You will not be able to edit any code.