When I do
\documentclass{article}
\usepackage{stmaryrd}
\begin{document}
$\varbigcirc$ test \par
\phantom{$\varbigcirc$} test
\end{document}
I get
which is not what I would expect. I would expect that the two "test" are left aligned and that the interline space is not as large.
How to fix this issue?

\leavevmodebefore\phantom. – Marcel Krüger Aug 05 '18 at 12:34$\varbigcirc$ test \par \leavevmode\phantom{$\varbigcirc$} test– Bernard Aug 05 '18 at 12:35\leavevmode! – Colas Aug 05 '18 at 12:36$\phantom{\varbigcirc}$might be more natural and wouldn't need that. – David Carlisle Aug 05 '18 at 12:48