note 48108 rejected from language.oop5.basic by didou

From: Date: Tue, 28 Dec 2004 16:07:00 +0000
Subject: note 48108 rejected from language.oop5.basic by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-82406@lists.php.net to get a copy of this message
Note Submitter: jmarbas at hotmail dot com ---- "When assigning an already created instance of an object to a new variable, the new variable will access the same instance as the object that was assigned." Actually, the new variable will access a COPY of the instance and not the SAME instance. This is shown by the example: var_dump($assigned) was not NULLified because a COPY of the instance was assigned to $assigned...

« previous php.notes (#82406) next »