References
| From: | Hinrich Donner | Date: | Mon, 16 Dec 2002 21:16:54 +0000 |
| Subject: | References | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6843@lists.php.net to get a copy of this message | ||
Hi,
what will happend?
$foo = "Hello, World";
$template =& new Smarty();
$template->assign_by_ref("foo", $foo);
$template->display("foo.tpl");
$template->clear_assign("foo");
echo "$foo";
Is $foo still alive?
Hinrich