I read this article and was confused about this code public ?string $b = 'foo';
As far as I understand $b
is a string variable.
Is the ?
before string
intended to mention that this variable is also nullable?
If so than it is the same as
public string | null $b = 'foo';
which is in my option much intutive to understand.