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

From: Date: Fri, 23 Aug 2024 15:49:37 +0000
Subject: Re: [Concept] Flip relative fu nction lookup order (global, then local)
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-125147@lists.php.net to get a copy of this message
On 23 August 2024 15:04:32 BST, Stephen Reay <php-lists@koalephant.com> wrote: > >I stand by the rest of my argument though. This entire ridiculous discussion about a huge BC >break that introduces bizarre inconsistencies, is 100% because a handful of people don't want >to type \. Again, I'm not sure which straw man you're attacking. The largest BC break would be to require users to type the leading backslash, in exchange for removing the current "bizarre inconsistencies" and making functions resolve the same way as classes. Other proposals aim to shift that balance - leaving some inconsistency, but less compatibility break. And most users don't object to using a leading backslash, they just (quite reasonably) have no idea what impact it has on the ability of the engine to optimise their code. Regards, Rowan Tommins [IMSoP]

« previous php.internals (#125147) next »