单项选择题

A.用for循环遍历数组
B.用foreach循环遍历数组
C.用array_intersect函数
D.用array_sum函数
E.用array_count_values()