Re: Re: Removal of ${} string interpolation in PHP 9
| From: | Peter Bowyer | Date: | Sun, 22 May 2022 07:09:01 +0000 |
| Subject: | Re: Re: Removal of ${} string interpolation in PHP 9 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117764@lists.php.net to get a copy of this message | ||
On Sun, 22 May 2022 at 03:26, Ben Ramsey <ramsey@php.net> wrote:
> In my reading of the RFC, I assumed the first approach: completely
> remove the syntax and make "${}" result in the literal string "${}".
>
I voted Yes on this RFC, and that was my expectation.
Otherwise we haven't entirely removed it, and left a footgun for people
with a new special case that isn't variable interpolation and isn't normal
characters in a string.
Peter