On 2 August 2024 18:19:41 BST, Nick Lockheart <li...@ageofdream.com> 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]
- [PHP-DEV] [Concept] Flip relative function lookup or... Ilija Tovilo
- Re: [PHP-DEV] [Concept] Flip relative function ... Rob Landers
- Re: [PHP-DEV] [Concept] Flip relative funct... Ilija Tovilo
- Re: [PHP-DEV] [Concept] Flip relative function ... Rob Landers
- Re: [PHP-DEV] [Concept] Flip relative function ... Nick Lockheart
- Re: [PHP-DEV] [Concept] Flip relative funct... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] [Concept] Flip relative f... Nick Lockheart
- Re: [PHP-DEV] [Concept] Flip relati... Rowan Tommins [IMSoP]
- Re: [PHP-DEV] [Concept] Flip relative function ... Thomas Nunninger
- Re: [PHP-DEV] [Concept] Flip relative function ... Claude Pache
- Re: [PHP-DEV] [Concept] Flip relative funct... Ilija Tovilo
- Re: [PHP-DEV] [Concept] Flip relative f... Nick Lockheart
- Re: [PHP-DEV] [Concept] Flip relative function ... Bilge
- Re: [PHP-DEV] [Concept] Flip relative funct... Nick Lockheart
- Re: [PHP-DEV] [Concept] Flip relative f... Christoph M. Becker
- Re: [PHP-DEV] [Concept] Flip relative f... Deleu