Re: [SMARTY-DEV] Re: backtic syntax changed
| From: | Monte Ohrt | Date: | Mon, 14 Apr 2003 13:45:47 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: backtic syntax changed | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1143@lists.php.net to get a copy of this message | ||
On Sat, 2003-04-12 at 11:41, Tom Sommer wrote:
> On Sat, 12 Apr 2003 11:22:37 -0500, Monte Ohrt wrote:
>
> > No, just a flag for evaluating the string/var as a template or not at
> > load time.
>
> Yes, but the string would not look like this:
> var1 = "hello {$myvar} test"
why not?
> it would look like
> var1 = "hello
$myvar test"
It depends on if you want to evaluate the var as a template or as quoted
text. The first one is more powerful and less confusing IMHO.
>
> where $myvar would be replaced by it's assigned value at runtime/compiled
> templates
> --
> Tom Sommer, Denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>