Re: [ZE2] clone_obj function and __clone method
| From: | Andi Gutmans | Date: | Sat, 03 Aug 2002 08:59:03 +0000 |
| Subject: | Re: [ZE2] clone_obj function and __clone method | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86482@lists.php.net to get a copy of this message | ||
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 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php