Re: [SMARTY-DEV] Re: backtic syntax changed
| From: | Tom Sommer | Date: | Mon, 14 Apr 2003 14:55:13 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: backtic syntax changed | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1148@lists.php.net to get a copy of this message | ||
On 14 Apr 2003 09:38:50 -0500, Monte Ohrt wrote:
> I don't think that would be too practical. Evaluating every var would be
> mostly unnecessary and quite a noticable performance overhead. Typically
> you would want to eval a config var upon loading it, or maybe eval a
> particular template variable at runtime which is what {eval} is for.
Hmm, good point... then perhaps the solution is indeed to add an extra
argument to assign() and config_load()
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk