On 04.08.2024 at 15:09, Nick Lockheart wrote:

> To that end, I have created the following RFC:
>
> 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?”
>
> Yes: We should do this, let's discuss syntax possibilities.
>
> No: This should not be a feature at all.

Thanks for the PR!

However, it seems to me that the "syntax possibilites" are an important
part of the vote.  Maybe all will agree that having that option is good,
but there still might not even be consensus on the "syntax".

Maybe just some straw poll to gauge interest in the general feature
would be more appropriate?

Christoph

Reply via email to