Re: [SMARTY-DEV] Re: constants and cycle
| From: | Tom Sommer | Date: | Fri, 04 Apr 2003 22:57:42 +0000 |
| Subject: | Re: [SMARTY-DEV] Re: constants and cycle | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.smarty.dev |
| Request: | Send a blank email to php-smarty-dev+get-1094@lists.php.net to get a copy of this message | ||
On 04 Apr 2003 16:43:16 -0600, Monte Ohrt wrote:
> well $foo[][] synatax is now OK in embedded quotes without backtics, but
> the inner workings of the syntax did not change. $foo.bar is still an
> associative array reference, not $foo['bar'].
I am seriously recommending the
$x.y method :)
I know it will break BC, but since it's an RC release people can live with
it
in the long run it makes more since to name backtrics common escape-chars,
not just escapes from $vars... and as I mentioned it's many times more
logical...
The downside is that php.smarty.general will get flooded with questions
about this... unless it is clearly stated in the release :)
Did I mention it was more logical compared to other programming languages?
Did i? :)
--
Tom Sommer, Denmark
www.tsn.dk - www.dreamcoder.dk