Re: [RFC] "use global functions/consts" statement
| From: | Gabriel Caruso | Date: | Wed, 01 Jan 2020 20:30:23 +0000 |
| Subject: | Re: [RFC] "use global functions/consts" statement | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107954@lists.php.net to get a copy of this message | ||
Hello Tyson,
On Wed, 1 Jan 2020 at 20:31, tyson andre <tysonandre775@hotmail.com> wrote:
> Hi internals,
>
> 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, e.g.
> - Typical RFC feedback
> - Missing parts, sections, or formatting issues in the RFC
> - Choices of voting options
> - Alternate syntax ideas ("use function *" was mentioned earlier, "use
> global function" doesn't make sense to me because it's singular instead of
> plural)
> e.g. different directive names for the declare() voting option.
>
> Thanks,
> - Tyson
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
Do you have plans to use the https://github.com/php/php-rfcs to promote the
discussion as well, the same way we did
<https://github.com/php/php-rfcs/pull/1>
for the Typed Properties RFC?
Best regards,