On 31.01.2008 00:06, Andi Gutmans wrote:
> I think it's actually pretty useful and not that uncommon to have large
> chunks of text which you want to capture in a variable (and not deal
> with the shortcomings of single quotes and/or output buffering in those
> instances). 

Does this work for you?

$string = <<<DATA
I don't like slashes in my
DATA
, so I use heredoc
DATA;

I don't want to deal with slashes whatsoever.

> And we're not talking about something significant which
> has risk associated with it and/or impacts other areas.

Sure, this is just a new syntax, we add them every day.

-- 
Wbr, 
Antony Dovgal

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

Reply via email to