Re: [SMARTY] new plugin: mailto

From: Date: Thu, 23 May 2002 07:00:43 +0000
Subject: Re: [SMARTY] new plugin: mailto
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4374@lists.php.net to get a copy of this message
Hi. Simon Willison wrote:
object - this is bad for performance and can lead to worrying side effects if you are expecting a method to be called on a specific object rather than a copy of it.
I know. When looping through an array of objects, I usually do this: foreach (array_keys($arr) as $key) { $obj = &$arr[$key]; } Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#4374) next »