Re: Re[2]: mixing of asign() and assign_by_ref() overwrites external vars
messju mohr <[email protected]>
| Newsgroups | gmane.comp.php.smarty.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 04, 2004 at 07:26:13PM +0400, Dmitry Koteroff wrote: [...] > And, in addition, it allows to use more intuitive > > $smarty->assign($key, &$value); FWIW: call-time-pass-by-reference is deprecated in php. > instead of > > $smarty->assign_by_ref($key, $value); > > > Command > > $smarty->assign($key, $value); > > works as usual, with no side-effects. -- Smarty Development Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php