Re: [RFC] "use global functions/consts" statement
| From: | tyson andre | Date: | Tue, 14 Jan 2020 18:27:27 +0000 |
| Subject: | Re: [RFC] "use global functions/consts" statement | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108127@lists.php.net to get a copy of this message | ||
> This RFC proposes to support an opt-in "use global functions/consts;" statement
> to disable PHP's check for the function/const in the current namespace before falling back
> to the global namespace.
>
> https://wiki.php.net/rfc/use_global_elements
>
>
> Earlier discussion can be found in the 'Opt-in "use function *;" for skipping
> check for
> function/const in alternate namespace' email thread, which can be seen at
https://externals.io/message/107877
>Let me know if you have any comments on the RFC
I plan to update the wiki and start the voting phase tomorrow with the voting structure mentioned in
https://wiki.php.net/rfc/use_global_elements
Alternatives/Arguments mentioned in this thread have had summaries added in the discussion section.
Thanks,
- Tyson