Re[2]: [SMARTY] assign_by_ref() and append_by_ref()
| From: | Hendy Irawan | Date: | Sat, 03 Aug 2002 05:36:34 +0000 |
| Subject: | Re[2]: [SMARTY] assign_by_ref() and append_by_ref() | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5564@lists.php.net to get a copy of this message | ||
smarty-general,
> You can easily change assign so that it is able to allow both copies
> and references. Let me demonstrate this with a general example:
> // Pass a reference
> $example->assign(&$ref);
"allow call time pass references" is not going to be in future PHP. (or
will just default to off)
Salam hangat,
Hendy Irawan - www.GaulDong.NET
Kantor: (021) 5260467 [SoftVation]
Kos: (021) 5261839 [kamar 3]