Re: [RFC][Under discussion] Deprecate ${} string interpolation
| From: | Guilliam Xavier | Date: | Tue, 15 Mar 2022 09:24:49 +0000 |
| Subject: | Re: [RFC][Under discussion] Deprecate ${} string interpolation | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117333@lists.php.net to get a copy of this message | ||
Hi Mike, Lynn, and Kamil; I feel like this sub-thread has derailed from the
initial topic... As already said, this RFC is *not* about the general
"variable variables" feature, but about *the
"${...}" syntax inside
interpolated strings* (i.e. double-quoted or heredoc), which can be
rewritten to either "{${...}}" or "{$...}" (or even
just "$...")
depending on the ... part (not necessarily a variable variable).
If you want to discuss variable variables (in general), I would suggest
creating a new separate thread.
Regards,