Re: [RFC][Under discussion] Arbitrary string interpolation
| From: | Tobias Nyholm | Date: | Thu, 17 Mar 2022 22:40:16 +0000 |
| Subject: | Re: [RFC][Under discussion] Arbitrary string interpolation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117365@lists.php.net to get a copy of this message | ||
That is a cool idea.
But I am not a big fan of having code in strings. Wouldn’t this open the door to all kinds of new
attacks?
// Tobias
> On 17 Mar 2022, at 23:30, Marco Pivetta <ocramius@gmail.com> wrote:
>
> Hey Ilija,
>
> Overall not a fan: want more
sprintf() and less interpolation,
> where
> possible 😬
>
> Couldn't we let the construct slowly decay into nothingness, perhaps?
>
> On Thu, 17 Mar 2022, 23:27 Ilija Tovilo, <tovilo.ilija@gmail.com> wrote:
>
>> Hi everyone
>>
>> I'd like to start discussion on a new RFC for arbitrary string
>> interpolation.
>> https://wiki.php.net/rfc/arbitrary_string_interpolation
>>
>> Let me know what you think.
>>
>> Ilija