On Sat, 12 Mar 2022 at 18:18, David Rodrigues <david.pro...@gmail.com>
wrote:

> Maybe I'm a little late to this discussion, but is there any reason why
> *false|null* is allowed but *true|null* is not?
>
> I can think of few cases where *true|null* could be interesting, but I've
> been through situations like this.
>

true is not a type in PHP compared to false, therefore it is not included.
I'm working on a proposal to add true as a type to PHP, but that's a
seperate RFC and discussion.

Best regards,

George P. Banyard

Reply via email to