note 71330 added to function.get-object-vars
| From: | shannon at earth dot care2 dot com | Date: | Wed, 22 Nov 2006 21:32:18 +0000 |
| Subject: | note 71330 added to function.get-object-vars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119991@lists.php.net to get a copy of this message | ||
Are you looking for clone?
$copy = clone $original;
you should implement __clone() as well, since otherwhise it might be a rather light clone.
----
Server IP: 64.71.164.2
Probable Submitter: 72.224.67.162
----
Manual Page -- http://www.php.net/manual/en/function.get-object-vars.php
Edit -- https://master.php.net/note/edit/71330
Del: integrated -- https://master.php.net/note/delete/71330/integrated
Del: useless -- https://master.php.net/note/delete/71330/useless
Del: bad code -- https://master.php.net/note/delete/71330/bad+code
Del: spam -- https://master.php.net/note/delete/71330/spam
Del: non-english -- https://master.php.net/note/delete/71330/non-english
Del: in docs -- https://master.php.net/note/delete/71330/in+docs
Del: other reasons-- https://master.php.net/note/delete/71330
Reject -- https://master.php.net/note/reject/71330
Search -- https://master.php.net/manage/user-notes.php