Re: [RFC][Under discussion] Deprecate ${} string interpolation
| From: | Ilija Tovilo | Date: | Thu, 17 Mar 2022 17:18:38 +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-117359@lists.php.net to get a copy of this message | ||
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
* I have added instructions on how to migrate from option 3/4 to option 2
* I have analized the top 1000 packagist repositories to see what
impact the RFC would have
* https://gist.github.com/iluuu1994/05427dd74100af8e41ebff3d4201742c
* Total option 3: 267, total option 4: 0
* I have created a script to migrate your code automatically
* https://gist.github.com/iluuu1994/72e2154fc4150f2258316b0255b698f2
* I have adjusted the deprecation message to differentiate between
option 3 and 4 (it now says "variable variables" for option 4).
Let me know if you have any other concerns or questions.
Ilija