| Viewed 95 times

How I should remove duplicates from an array?


I need a function that takes an array of items, removes all duplicate items and returns a new array in the same sequential order as the old array (minus duplicates).

PHP