Static Properties

no-email (Damien Seguy), Damien Seguy
Tue, 14 Jan 2025 00:00:00 +0000

It is easy to read that the property ``$x`` is of type ``Test`` (via static), with an impossible default value of 0. In fact, this property is not typed, as using ``static`` is not a possible type for properties.
Secondly, static properties are inherited and shared with the parent static properties, unless they are declared again. In that case, they are distinct.