Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117360 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 72510 invoked from network); 17 Mar 2022 16:13:49 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Mar 2022 16:13:49 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CAF49180511 for ; Thu, 17 Mar 2022 10:39:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8468 78.32.0.0/15 X-Spam-Virus: No X-Envelope-From: Received: from mint.phcomp.co.uk (freshmint.phcomp.co.uk [78.32.209.33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 17 Mar 2022 10:39:05 -0700 (PDT) Received: from addw by mint.phcomp.co.uk with local (Exim 4.92) (envelope-from ) id 1nUu5W-0007WE-Dk for internals@lists.php.net; Thu, 17 Mar 2022 17:39:02 +0000 Date: Thu, 17 Mar 2022 17:39:02 +0000 To: internals@lists.php.net Message-ID: <20220317173902.GW26851@phcomp.co.uk> Mail-Followup-To: internals@lists.php.net References: <20220312031138.5e0669a4@platypus> <20220312123015.3713538b@platypus> <492ECA79-EC68-4BEB-AD67-B26A1D68D399@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Organization: Parliament Hill Computers Ltd User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [PHP-DEV] [RFC][Under discussion] Deprecate ${} string interpolation From: addw@phcomp.co.uk (Alain D D Williams) 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