Php Replace String Array Key Last