I'm fairly new to PHP and Smarty templates and I don't understand...
$smarty = new Smarty;
....vs...
$smarty = new Smarty();
....vs...
$smarty =& new Smarty;
I've seen all three used and I'm not sure why/when to use one version
over another.
$smarty = new Smarty;
....vs...
$smarty = new Smarty();
....vs...
$smarty =& new Smarty;
I've seen all three used and I'm not sure why/when to use one version
over another.
Comment