note 71330 deleted from function.get-object-vars by bobby
| From: | bobby@php.net | Date: | Wed, 22 Nov 2006 21:36:25 +0000 |
| Subject: | note 71330 deleted from function.get-object-vars by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-119992@lists.php.net to get a copy of this message | ||
Note Submitter: shannon at earth dot care2 dot com
----
Are you looking for clone?
$copy = clone $original;
you should implement __clone() as well, since otherwhise it might be a rather light clone.