Re: __clone() implementation
| From: | Stephane Drouard | Date: | Mon, 02 Feb 2004 21:38:21 +0000 |
| Subject: | Re: __clone() implementation | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7494@lists.php.net to get a copy of this message | ||
== Quote from Ferdinand Beyer (fb@fbeyer.com)'s article
> I like the new way very much but I dislike that PHP tells me how to
> name a function parameter. __set() and __get(), for instance, do not
> force fixed argument names either, do they?
I agree.
Anyway, do we now need $that to be passed as $this is already initialized with the same values?
Except if we want to modify the cloned object, but I'm not sure this is a good idea.
Stephane