Re: [PHP-DEV] [ZE2] clone_obj function and __clone method

2002-08-03 Thread Andi Gutmans
clone_obj is the C handler for overloaded objects. In case of PHP objects clone_obj calls __clone. Andi At 12:37 AM 7/18/2002 -0400, l0t3k wrote: >A quick question about the above... >what is the relationship between the clone_obj handler and the __clone >method. For instance, if i define the c

[PHP-DEV] [ZE2] clone_obj function and __clone method

2002-07-17 Thread l0t3k
A quick question about the above... what is the relationship between the clone_obj handler and the __clone method. For instance, if i define the clone_obj handler, do i need to define the a __clone method on the same object ? is clone_obj for a shallow and __clone for deep copying ? l0t3k --