Re: __clone() implementation
| From: | Ferdinand Beyer | Date: | Mon, 02 Feb 2004 18:24:47 +0000 |
| Subject: | Re: __clone() implementation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7478@lists.php.net to get a copy of this message | ||
On 2 Feb 2004 at 14:36, Zeev Suraski wrote:
> Using clone directly is now done using
> $replica = clone $src;
> Clone methods must now be declared as follows:
> function __clone($that)
> {
> }
Finally! I've suggested this change several times before
(engine2@lists.zend.com) but no one was interested (0 feedback).
But now that it will be included I'm very happy!
--
Ferdinand Beyer
<fb@fbeyer.com>