Re: Typed constants revisited
| From: | Guilliam Xavier | Date: | Wed, 30 Mar 2022 14:51:04 +0000 |
| Subject: | Re: Typed constants revisited | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117461@lists.php.net to get a copy of this message | ||
> Ah yes, I hadn't considered expanding this RFC to namespaced and global
> constants. Let me mull over implementation syntax for those and include
> them in the RFC. My initial reaction is to not include those in this RFC,
> keeping the scope to just class constants. If there is value in typing
> namespaced and global constants, then another RFC could add those.
>
Yes, it could be simply a mention in a "Future scope" (or even "Unaffected
functionality") section
(and the syntax could indeed be a problem, like for typed local/global
variables...)
> Once I have all these new issues figured out and the RFC updated, I'll
> start that new thread.
>
Looking forward to it =)