我怎样才能使这样一个数组的值唯一。
Array ( [0] => Array ( [0] => wallet [1] => pen [2] => perfume [3] => pen) )
由于有两次笔,我希望以这种方式将其删除:
( [0] => Array ( [0] => wallet [1] => pen [2] => perfume) )
或者
( [0] => Array ( [0] => wallet [1] => perfume [2] => pen) )
我希望它适用于任何长度。
感谢您的帮助