Suppose we have a test function $\phi$ and the expression: $$\int_\mathbb{R}\phi(x)\delta(x-a)dx $$
next, we would like to multiply by a $h(x)\in C^\infty$ function and then take the derivative of the combined expression. which of the following is correct (or are they equivalent)?
(1) $$\int\phi(x)h(x)\delta(x)dx= \int\phi(x)h(a)\delta(x)dx$$ then differentiating (treating $h(a)$ as constant): as per the first comment in Why does the Dirac delta function satisfy $f(x)\delta(x-a) = f(a)\delta(x-a)$?
(2) or using the product rule: $$\int\phi(x)h(a)\delta'(x)dx+\int\phi(a)h(x)\delta'(x)dx $$