note 81286 deleted from language.oop5.cloning by betz
| From: | betz@php.net | Date: | Thu, 21 Feb 2008 11:46:16 +0000 |
| Subject: | note 81286 deleted from language.oop5.cloning by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-136347@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
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.