> On Oct 2, 2021, at 11:06 AM, G. P. B. <george.bany...@gmail.com> wrote:
> 
> Hello internals,
> 
> I'm proposing a new RFC to make 'null' usable as a standalone type.
> 
> RFC: https://wiki.php.net/rfc/null-standalone-type

Regarding the RFC's proposed disallowing of `?null`, is that really needed?

Obviously it doesn't make sense for a developer to write that, but I could see 
that a code generator would have add special-case logic to avoid outputting `?` 
with the type `null`.

Does it hurt anything if it is allowed?

-Mike

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to