Re: [SMARTY-DEV] Re: constants and cycle
| From: | Monte Ohrt | Date: | Fri, 04 Apr 2003 21:51:58 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: constants and cycle | ||
| References: | 1 2 3 4 5 6 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1088@lists.php.net to get a copy of this message | ||
That can certainly be done (easily), and if it is going to be done _now_
is the time to do it since backticks were introduced into 2.5.0-RC1.
Any input from others? Pro, Con, Other?
Monte
On Fri, 2003-04-04 at 15:39, Tom Sommer wrote:
> On 04 Apr 2003 15:32:32 -0600, Monte Ohrt wrote:
>
> > If you have a better alterntive, please speak up! :-)
>
> I was thinking the way MySQL uses backtrick's
>
> I would include the $, seems more logical to me
>
> "hello,
$this.is.my.var, what do you think?"
> "hello, $this.is.my.var, what do you think?"
>
> Same goes for general PHP escaping from a <<<
>
> $s = <<<THIS
> <test>{$my.var}</test>
> THIS;
>
> and not
>
> $s = <<<THIS
> <test>${my.var}</test>
> THIS;
>
> --
> Tom Sommer, Denmark
> www.tsn.dk - www.dreamcoder.dk
--
Monte Ohrt <monte@ispi.net>