[RFC] Add true as type
| From: | G. P. B. | Date: | Fri, 08 Apr 2022 16:47:19 +0000 |
| Subject: | [RFC] Add true as type | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-117500@lists.php.net to get a copy of this message | ||
Hello internals,
I would like to open the discussion on the RFC to add true as a type.
https://wiki.php.net/rfc/true-type
Now that null and false can be used as standalone types, I think it makes a
lot of sense to add true as a value type for the sake of completeness with
false.
It also has many use cases within internals and userland to declare proper
type signatures to functions and methods.
Best regards,
George P. Banyard