note 12631 deleted from language.references.unset by cece
| From: | cece@php.net | Date: | Mon, 18 Aug 2003 11:12:17 +0000 |
| Subject: | note 12631 deleted from language.references.unset by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54577@lists.php.net to get a copy of this message | ||
Note Submitter: "Ale Belluscio" <baldusi@hotmail.com>
----
Referring to your "bug", it seems very rational to me. When you did:<br>
unset($blah["hugo"]);<br>
You deleted the only reference to the _content_ of $bla["hugo"], which is a particular
value of the array, not the array itself (which is the content of $bar). In the next
statement,<br>
$bar["hugo"]=3;<br>
you set it again to some value. So it's quite logical that it's printed.
Regards,
Alejandro Belluscio