Php Filter Array Unique Values R