I'm new to PHP and I came across some code where a variable is declared with an interrogation point before the type. I'm a bit confused about what this means exactly and how it differs from regular variable declaration.
Here's an example of what I'm talking about:
$var :? int;
I couldn't find any documentation or resources that explain this specific syntax. Can someone please shed some light on this and help me understand its purpose?
Thanks in advance!