note 64391 deleted from language.oop5.basic by bjori

From: Date: Thu, 13 Apr 2006 12:35:31 +0000
Subject: note 64391 deleted from language.oop5.basic by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107981@lists.php.net to get a copy of this message
Note Submitter: Reason: bad code ---- Example 19-4 should look like this to get the desired effect: <?php $instance->var = '$assigned will have this value'; $assigned = $instance; $reference =& $instance; $instance = null; // $instance and $reference become null var_dump($instance); var_dump($reference); var_dump($assigned); ?>

« previous php.notes (#107981) next »