8. Let $f(x)$ be a continuous even function, and when $x>0$, $f(x)$ is a strictly monotonic function. Then the sum of all $x$ that satisfy $f(x) = f\left(\frac{x+3}{x+4}\right)$ is ( ).
(A) -3
(B) -8
(C) 3
(D) 8
8. B.

When $f(x)=f\left(\frac{x+3}{x+4}\right)$, i.e., $x=\frac{x+3}{x+4}$, we get $x^{2}+3 x-3=0$. At this point,
$$
x_{1}+x_{2}=-3 \text {. }
$$

Since $f(x)$ is a continuous even function, another scenario is $f(-x)=f\left(\frac{x+3}{x+4}\right)$, i.e., $-x=\frac{x+3}{x+4}$, which gives
$$
x^{2}+5 x+3=0 \text {. }
$$

Therefore, $x_{3}+x_{4}=-5$.
Thus, the sum of all $x$ is
$$
-3+(-5)=-8 \text {. }
$$