Object cloning

php.internals

(Marcus Börger)

23 years ago
Hello Zeev & Andi, to simplify object cloning i would appreciate the attached patch. With this patch it would be much easier to write clone handlers that inherit the default behavior correctly and are also sitll capable of dealing with the __clone() method.
-- Best regards, Marcus mailto:helly@php.net

Andi Gutmans

23 years ago
If I understand correctly the idea is that you will be able to call zend_objects_clone_members() from your clone implementation? If so, I think the patch can be commited. Andi At 06:34 PM 16/7/2003 +0200, Marcus Börger wrote: