Re: __clone() implementation

From: Date: Mon, 02 Feb 2004 18:49:58 +0000
Subject: Re: __clone() implementation
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-7483@lists.php.net to get a copy of this message
== Quote from Zeev Suraski (zeev@zend.com)'s article > Both are valid points, and they both sound like the same problem from two > different angles. I think that the best approach would be to first do an > implicit clone (i.e., 'dumb' copy of all of the elements), and then call > __clone(), even if it exists. It should solve both cases. Do you mean that PHP does this bit for bit copy before calling __clone? If yes, this was my original request, so I will be very happy. Stephane

« previous php.internals (#7483) next »