Re: [RFC][Under discussion] Deprecate ${} string interpolation

From: Date: Mon, 14 Mar 2022 19:20:51 +0000
Subject: Re: [RFC][Under discussion] Deprecate ${} string interpolation
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-117329@lists.php.net to get a copy of this message
On Mon, Mar 14, 2022 at 8:04 PM Mike Schinkel <mike@newclarity.net> wrote: > > Variable variables provide functionality[1] that if removed would force > major rewrites of PHP applications that were architected in a way that > depends on that functionality. > And while probably between 90% and 99% of the time when someone uses > variable variables there are better alternatives, variable variables make > certain code possible that would be impossible without them. > Do you have examples where this is the case? Using arrays is a compatible replacement as far as I know, and I highly doubt these kinds of hacks are necessary.

« previous php.internals (#117329) next »