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

From: Date: Thu, 17 Mar 2022 17:39:02 +0000
Subject: Re: [RFC][Under discussion] Deprecate ${} string interpolation
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-117360@lists.php.net to get a copy of this message
On Thu, Mar 17, 2022 at 06:18:38PM +0100, Ilija Tovilo wrote: > Hi everyone > > I have tried to address all the feedback I've received for the RFC to > deprecate the ${} string interpolation. > > https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation Could you please add, for the avoidance of doubt, that this will still work: $foo = 'bar'; $baz = 'foo'; echo $$baz; // generates bar echo "$$baz"; // generates $foo Yes: I know that you are talking about ${} but this is sufficiently messy that clarity is needed. Regards -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h>

« previous php.internals (#117360) next »