单项选择题

下列可以去除数组[’a’,’b’,’a’]中重复元素的是()

A.array_unshift()
B.array_unique()
C.array_slice()
D.array_splice()