Re: __clone() implementation
| From: | lingwitt at bellsouth dot net | Date: | Sat, 24 Jan 2004 01:59:44 +0000 |
| Subject: | Re: __clone() implementation | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7307@lists.php.net to get a copy of this message | ||
I was told earlier that this is the correct way to do it:
public function __clone()
{
$this = parent::__clone();
$this->... = $that->...;
...
}