note 81286 added to language.oop5.cloning

From: Date: Thu, 21 Feb 2008 07:54:31 +0000
Subject: note 81286 added to language.oop5.cloning
Groups: php.notes 
Request: Send a blank email to php-notes+get-136340@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/81286 Del: integrated -- https://master.php.net/note/delete/81286/integrated Del: useless -- https://master.php.net/note/delete/81286/useless Del: bad code -- https://master.php.net/note/delete/81286/bad+code Del: spam -- https://master.php.net/note/delete/81286/spam Del: non-english -- https://master.php.net/note/delete/81286/non-english Del: in docs -- https://master.php.net/note/delete/81286/in+docs Del: other reasons-- https://master.php.net/note/delete/81286 Reject -- https://master.php.net/note/reject/81286 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#136340) next »