note 45830 deleted from language.references.arent by nlopess
| From: | nlopess@php.net | Date: | Tue, 21 Sep 2004 11:07:56 +0000 |
| Subject: | note 45830 deleted from language.references.arent by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77096@lists.php.net to get a copy of this message | ||
Note Submitter: T-Start (start.be)
----
More or less workaround...
function foo ($var) {
global $$var;
$var =& $$var;
}
foo("bar");
Works fine but won't work when foo() is ran from another function unless you've first
global'd $bar