Re: [RFC] Add Directive to Make All Namespaced Function Calls Global
| From: | Derick Rethans | Date: | Mon, 05 Aug 2024 11:27:31 +0000 |
| Subject: | Re: [RFC] Add Directive to Make All Namespaced Function Calls Global | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124759@lists.php.net to get a copy of this message | ||
On Sun, 4 Aug 2024, Nick Lockheart wrote:
> https://wiki.php.net/rfc/global_function_parser_directive I am
> asking
> that we discuss and vote on the following question:
>
> “Should there be some way for developers to signal to the parser at
> compile time that all unqualified function names found in a namespace
> context are global, without a namespace lookup?”
I don't beleive that we should introduce a switch for this at all, just
like the conclusion was in https://wiki.php.net/rfc/use_global_elements
cheers,
Derick