Php Replace Character From Array To Arraylist