Re: [Concept] Flip relative function lookup order (global, then local)

From: Date: Sun, 25 Aug 2024 02:23:20 +0000
Subject: Re: [Concept] Flip relative function lookup order (global, then local)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-125199@lists.php.net to get a copy of this message
> > On Aug 23, 2024 at 2:30 PM, <Ilija Tovilo (mailto:tovilo.ilija@gmail..com)> wrote: > > > > On Fri, Aug 23, 2024 at 8:19 PM John Coggeshall <john@coggeshall.org> wrote: > > > 1. People who don't think BC is a problem, and would like to drop > either the > global or local lookup entirely, requiring disambiguation. > > There is also an option of > swapping the priority, making local lookups secondary to global lookups -- and to override that > behavior you would require disambiguation. It doesn't have to mean drop the lookup entirely. > Right, that's my proposal. My point was that few (nobody except you and me, I believe) showed > particular excitement for this approach. > > > > > > > There is also the 5th (or 4th?) option of making built-ins special and not require them nor locals be prefixed, and instead require global userland functions to be prefixed. > -Mike

« previous php.internals (#125199) next »