note 11815 deleted from language.references.arent by sniper
| From: | sniper@php.net | Date: | Tue, 30 Sep 2003 01:23:38 +0000 |
| Subject: | note 11815 deleted from language.references.arent by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57334@lists.php.net to get a copy of this message | ||
Note Submitter: brian@kusala.com
----
You can get round the above problem somewhat using:
function foo (&$aVar)
{
$aVar['value'] =& $GLOBALS["baz"];
}
foo($bar);
$bar['value'] is now a reference to $GLOBALS["baz"] as you would expect.