Hi Andrea,

On Thu, Jan 21, 2016 at 4:18 AM, Andrea Faulds <a...@ajf.me> wrote:
>
> One other approach I thought of is to use constant scalar expressions:
>
> +('123'.'456'.'789')
>
> It's not quite the same of native support, but it works.

This is what I do on occasions.

I have to read var_export()ed PHP code sometimes.
If PHP supports this RFC and var_export() support it,
it would be much easier to read.

It's irrelevant for this RFC, but if PHP supports compile
time string concatenation

echo "Very long sting "
        "that is concatenated "
        "at compile time.";

It would be nice to have.

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to