Re: [SMARTY-DEV] Re: backtic syntax changed
| From: | Monte Ohrt | Date: | Sat, 12 Apr 2003 16:22:37 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: backtic syntax changed | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1138@lists.php.net to get a copy of this message | ||
Tom Sommer wrote:
On Sat, 12 Apr 2003 09:30:07 -0500, Monte Ohrt wrote:The eval function won't do for now?Well, the eval function is of cause a solution, but as you mentioned in another post, it is not very usable on the PHP level If you read my first post in this thread (as I am sure you have) you will see my idea for a smarter way of handling embedded vars I don't know how much it would take to implement this, but I am sure many would find it useful. It's taking eval to a whole new level of logic. I might have a look at how to do it, but my guess would be to just find a way to eval everything embedded in backtrics? No, just a flag for evaluating the string/var as a template or not at load time.