Re: [SMARTY] new plugin: mailto
| From: | Ivo Jansch | Date: | Wed, 22 May 2002 14:44:49 +0000 |
| Subject: | Re: [SMARTY] new plugin: mailto | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4354@lists.php.net to get a copy of this message | ||
Hi,
Alan McFarlane wrote:
for ($i = 0, $j = count($mail_params); $i < $j; $i++) { //... }Wouldn't this be even faster? foreach ($mail_params as $param) { } Maybe it's slower, maybe php is optimised to do this very fast.. In any case it looks cleaner. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl