Php Filter Array Unique Values Python W3schools