As part of a larger inquiry, I suspect and am trying to prove the following : Let $\phi$ be a continuous function defined on $[0,1]$. Then $\phi^{-1}(0)$ has an at most countable number of connected components.
My guess is that the argument is about its complement being open as $\phi$ is continuous. Therefore, unless there's at most one connected component, there is a nonzero distance between each of them. Somehow, I suspect I could prove from that that we can count the connected components (e.g. by increasing order) - which seems obvious to the intuition.
[EDIT] : Motivation for this : I'm trying to prove that a piecewise-$\mathcal{C}^1$ path in the complex plane can always be described in "polar" coordinates ($\phi(t)=r(t)e^{i\theta(t)}$) where $\theta$ is continuous. Therefore, I wanted to simply define this function $\theta$ by induction by giving it a different expression everytime $\text{Arg} (\phi(t))$ crosses the line at which $\text{Arg}$ is discontinuous.