Php Replace String Array Key Exist