note 81287 deleted from language.oop5.cloning by danielc
| From: | danielc@php.net | Date: | Sun, 27 Jul 2008 05:40:36 +0000 |
| Subject: | note 81287 deleted from language.oop5.cloning by danielc | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142806@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
Reason: 1
----
I sorely apologize if this point seems to be obvious, but being slightly impatient, I do not care to
know how many times I overlooked this.
For God's sake, notice the lack of the '$' in front of objects when referencing them
with '$this'. Not included, this allows class variables to be properly addressed.
eg, $this->$a, will NOT work properly with clone(), but this will: $this->a.