On 30.01.2008 21:38, Stanislav Malyshev wrote:
>> $string = 'it\'s not that hard to add a $slash';
> 
> It's not too hard to add a slash unless you have to do it in a big chunk 
> of text that may contain quotes, slashes, etc. - e.g. random PHP code 
> for a template generation.

Templates are usually put into separate files.
Embedding them into the code is just a weird fantasy and not a reason for a new 
construct.

-- 
Wbr, 
Antony Dovgal

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

Reply via email to