[RFC] Allow null and false as stand-alone types

php.internals

Girgias

4 years ago
Hello internals, As a follow up from the "Allow null as a stand-alone type" where the main talking point was to also allow false to be used as a stand-alone type, a new slightly modified RFC is now proposed: https://wiki.php.net/rfc/null-false-standalone-types The implementation has been updated to reflect the new RFC. Best regards, George P. Banyard

Guilliam Xavier

4 years ago
On Sun, Feb 20, 2022 at 6:56 PM G. P. B. <george.banyard@gmail.com> wrote:
> Hello internals, > > As a follow up from the "Allow null as a stand-alone type" where the main > talking point was to also allow false to be used as a stand-alone type, a > new slightly modified RFC is now proposed: > https://wiki.php.net/rfc/null-false-standalone-types > > The implementation has been updated to reflect the new RFC. >
The new RFC has a link to implementation and a link to the previous RFC (which has a link back to the new one) but I had to search for the original *discussion*, so here it is: https://externals.io/message/116188 (+1 for me, with or without false) Regards,
-- Guilliam Xavier

Girgias

4 years ago
Hello internals, I'd like to open voting for this tomorrow. I've expanded a bit the caveat about the specific Reflection change this RFC introduces with handling of null|false compared to other T|null types. https://wiki.php.net/rfc/null-false-standalone-types If there are some final comments please let me know. Best regards, George P. Banyard