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

- Thread: https://externals.io/message/117078
- Original archive: https://news-web.php.net/php.internals/117078
- Started by G. P. B. on 2022-02-20T17:56:31+00:00
- Messages: 3
- RFC: Allow null and false as stand-alone types (Implemented (PHP 8.2)) — https://externals.io/rfc/null-false-standalone-types.md
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #117078 — G. P. B. — 2022-02-20T17:56:31+00:00

URL: https://externals.io/message/117078#117078

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

---

## #117122 — Guilliam Xavier — 2022-02-23T15:19:21+00:00

URL: https://externals.io/message/117078#117122 · In reply to: #117078

> 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

---

## #117300 — G. P. B. — 2022-03-10T16:48:28+00:00

URL: https://externals.io/message/117078#117300 · In reply to: #117078

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
