Re: [Concept] Flip relative fu nction lookup order (global, then local)
From: Rowan Tommins [IMSoP] Date: Fri, 02 Aug 2024 17:53:50 +0000 Subject: Re: [Concept] Flip relative fu nction lookup order (global, then local) References: 1 2 Groups: php.internals Request: Send a blank email to [email protected] to get a copy of this message
On 2 August 2024 18:19:41 BST, Nick Lockheart <[email protected]> wrote: >I had suggested a per-file directive in a post to this list a while >back. Something like: > >namespace foo; >use global functions; There was a proposal for exactly this a few years ago, which ended up in an RFC with a slightly different syntax (using a declare() statement), but was declined in voting by 35 votes to 2. I can't remember much about the discussion, so am not sure what changes would make a new attempt more likely to pass. Regards, Rowan Tommins [IMSoP]
Thread (112 messages)
- Re: [Concept] Flip relative fu nction lookup order (global, then local)
- Re: [Concept] Flip relative function lookup order (global, then local)
- Re: [Concept] Flip relative function lookup order (global, then local)
- Re: [Concept] Flip relative fu nction lookup order (global, then local)
- Re: [Concept] Flip relative fu nction lookup order (global, then local)
« previous | php.internals (#124723) | next » |
---|