note 84575 deleted from language.oop5.cloning by cmb
| From: | cmb@php.net | Date: | Sun, 10 Jul 2016 20:13:36 +0000 |
| Subject: | note 84575 deleted from language.oop5.cloning by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-205956@lists.php.net to get a copy of this message | ||
Note Submitter: Jim Brown
----
Regarding the generic deep __clone() example provided by david ashe at metabin:
If your object has a variable that stores an array of objects, that particular __clone() example
will NOT perform a deep copy on your array of objects.