Hi Alex
>> I've been thinking about ways to improve string interpolation.
>
> Using a prefix for strings that have a saner interpretation reminds me of
> f-strings in python 3. I would suppose you know about it already but I'll
> leave a link here anyway: https://www.python.org/dev/peps/pep-0498
On Sun, Aug 16, 2020, 20:45 Ilija Tovilo wrote:
> Hi internals
>
> > I've been thinking about ways to improve string interpolation.
>
> Absolutely overwhelmed by the feedback (:P) I've decided to create a small
> POC:
>
> https://github.com/php/php-src/compare/master...iluuu1994:string-interpolat
Hi internals
> I've been thinking about ways to improve string interpolation.
Absolutely overwhelmed by the feedback (:P) I've decided to create a small POC:
https://github.com/php/php-src/compare/master...iluuu1994:string-interpolation
The POC uses the following syntax:
echo "Static method call