note 14403 deleted from language.references.arent by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 19:52:22 +0000 |
| Subject: | note 14403 deleted from language.references.arent by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25289@lists.php.net to get a copy of this message | ||
function foo (&$aVar)
{
$aVar['value'] =& $GLOBALS["baz"];
}
foo($bar);
Let me take a crack at this one. Essentially, when you make $aVar and $bar reference the same
variable, that variable is an array, so when you assign a reference value to
$aVar['value'], $bar is now the the beginning of an array. Yes?