A set $E \subseteq \mathbb{R}$ is measurable if for any subset $A\subset\mathbb{R}$, $$\mu(A)=\mu(A\cap E)+\mu(A\cap E^c).$$ where $\mu$ is the Lebesgue outer measure.
A function $\varphi : \mathbb{R} \to \mathbb{R}$ is measurable if for any $\alpha\in\mathbb{R}$ the set $E_\alpha:=\{x\in\mathbb{R} : \varphi(x)>\alpha\}$ is measurable.
Let $\varphi : \mathbb{R} \to \mathbb{R}$ be a measurable function, and let $\ \ f:\mathbb{R}\rightarrow\mathbb{R}$ be a continuous function.
For two such functions we know that the composite fonction $f\circ\varphi$ is measurable because of a result that say $\varphi^{-1}(A)$ is measurable for any borelian set $A$ (our borelian here is $f^{-1}(]\alpha,\infty[)$).
Now I would like to know why for two functions $\ f$ and $\varphi$ like above $\varphi\circ f$ is not necessarily a measurable function.
Edit: The first answer of this question gives an example of such a pair of functions.