Re: Sv: Re: [SMARTY] assign_by_ref() and append_by_ref()
| From: | Rod Enke | Date: | Sat, 03 Aug 2002 01:35:52 +0000 |
| Subject: | Re: Sv: Re: [SMARTY] assign_by_ref() and append_by_ref() | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5560@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
in PHP 5.0, assign() will work the way you expect it to, by reference implicitly. We may eventually deprecate the assign_by_ref() function once it is not needed. travis@dawnstar.org wrote: Why not add a third parameter to assign() that tells assign() to either copy or pass by reference. You could default this new parameter to copy for backwards compatability. I'm new to PHP and Smarty, so don't laugh too hard if I'm way off base.- Rod