Php Replace Character From Array To Hashmap