Re: [SMARTY] {section}, {foreach}, associative arrays
| From: | Ben Godfrey | Date: | Thu, 08 Aug 2002 16:04:09 +0000 |
| Subject: | Re: [SMARTY] {section}, {foreach}, associative arrays | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-5622@lists.php.net to get a copy of this message | ||
I think that section and foreach are artificial distinctions as far as the designer is concerned. If possible, section should be extended so that foreach can be dropped from the language (section is more readable).
Ideally this could be done in such a way that it remains backwardly compatible (perhaps leave foreach in as an alias for the next few releases).
The two instructions are so similar on the outside that it makes explaining the difference all the more difficult.
Ben
(q) Ben Godfrey?
(a) Developer and Designer,
See http://aftnn.org/ for details