Dmitry Stogov wrote:
The feature is very useful, however, I agree, the syntax would be better. :)
The current syntax:

$var = <<<'TEXT'
text
TEXT;

I would like to see nowdocs. The closest equivalent in another syntax I can think of is xml's CDATA. Perhaps we can borrow something similar to that syntax

$var = <<<CDATA[
string here
]CDATA;

Greg

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

Reply via email to