Re: Pass source object to clone like __clone($origThis)
| From: | Sara Golemon | Date: | Thu, 03 Sep 2020 16:06:46 +0000 |
| Subject: | Re: Pass source object to clone like __clone($origThis) | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111830@lists.php.net to get a copy of this message | ||
On Thu, Sep 3, 2020 at 11:03 AM David Rodrigues <david.proweb@gmail.com>
wrote:
> It was just an example to avoid modify how clone works, using existing
> features. :)
>
Right, but the question remains "Why would we want the original object
during a clone operation?". No legitimate example of that has been
provided yet.
-Sara