# Connected $T_2$-space such that the open sets are closed under countable intersection

This question has a trivial starting point: If the open sets of $\mathbb{R}$ were closed under countable intersection, the Euclidean topology would be discrete because for all $x\in\mathbb{R}$ we have $\{x\} = \bigcap\big\{ (x-\frac{1}{n},x+\frac{1}{n}):n\in\mathbb{N}\setminus\{0\}\big\}$.

Question. Is there a connected $T_2$-space $(X,\tau)$ with $X$ uncountable such that for all countable sets ${\cal C} \subseteq \tau$ we have $\bigcap {\cal C}\in\tau$?

In other words, you want every $G_\delta$ to be open. I just learned that such spaces are called P-spaces.
• Note that if $X$ is a P-space and $f:X \to \mathbb{R}$ is continuous then $f$ is constant on the connected components of $X$. From this it follows that functionally Hausdorff P-spaces are totally disconnected. Also note that any separable $T_1$ P-space is countable and discrete; in particular it follows that a connected $T_1$ P-space must have uncountable density character. – Ramiro de la Vega May 18 '18 at 12:07