Re: [SMARTY-DEV] Re[2]: mixing of asign() and assign_by_ref() overwrites external vars

From: Date: Fri, 04 Jun 2004 15:41:08 +0000
Subject: Re: [SMARTY-DEV] Re[2]: mixing of asign() and assign_by_ref() overwrites external vars
References: 1 2 3 4  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2395@lists.php.net to get a copy of this message
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.

« previous php.smarty.dev (#2395) next »