note 51439 added to language.oop5.cloning
| From: | jorge dot villalobos at gmail dot com | Date: | Wed, 30 Mar 2005 23:29:57 +0000 |
| Subject: | note 51439 added to language.oop5.cloning | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87219@lists.php.net to get a copy of this message | ||
I think it's relevant to note that __clone is NOT an override. As the example shows, the normal
cloning process always occurs, and it's the responsibility of the __clone method to
"mend" any "wrong" action performed by it.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.cloning.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51439
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51439&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51439&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51439&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51439&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51439&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51439&report=yes
Search -- http://master.php.net/manage/user-notes.php