note 81287 added to language.oop5.cloning

From: Date: Thu, 21 Feb 2008 07:55:42 +0000
Subject: note 81287 added to language.oop5.cloning
Groups: php.notes 
Request: Send a blank email to php-notes+get-136341@lists.php.net to get a copy of this message
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. ---- Server IP: 208.69.120.35 Probable Submitter: 24.155.241.2 ---- Manual Page -- http://www.php.net/manual/en/language.oop5.cloning.php Edit -- https://master.php.net/note/edit/81287 Del: integrated -- https://master.php.net/note/delete/81287/integrated Del: useless -- https://master.php.net/note/delete/81287/useless Del: bad code -- https://master.php.net/note/delete/81287/bad+code Del: spam -- https://master.php.net/note/delete/81287/spam Del: non-english -- https://master.php.net/note/delete/81287/non-english Del: in docs -- https://master.php.net/note/delete/81287/in+docs Del: other reasons-- https://master.php.net/note/delete/81287 Reject -- https://master.php.net/note/reject/81287 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136341) next »