note 103566 deleted from language.references.unset by danbrown

From: Date: Wed, 20 Apr 2011 16:24:41 +0000
Subject: note 103566 deleted from language.references.unset by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179015@lists.php.net to get a copy of this message
Note Submitter: loco dot loop+phpnospam at gmail dot com ---- The below example by (rustin dot phares at hotmail dot com) will not work. I read the documentation on references and it seemed a little bit odd, according to docs when unsetting a reference you only unset the variable's reference and the variable itself. This won't unset $a and $b and $c. It will only unset $c. ------------------ <?php $a = 1; $b =& $a; $c =& $b; unset($c); ?> ------------------

« previous php.notes (#179015) next »