Java Arraylist Set Add Function Php File