Re: Property Overloading RFC
| From: | Marcus Boerger | Date: | Thu, 25 Aug 2005 22:08:23 +0000 |
| Subject: | Re: Property Overloading RFC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18450@lists.php.net to get a copy of this message | ||
Hello Derick,
Thursday, August 25, 2005, 2:01:56 PM, you wrote:
> On Tue, 2 Aug 2005, Derick Rethans wrote:
>> we're finding some problems with property overloading (__get() and
>> __set()). Here is an RFC describing what we'd like to see changed.
>> Please comment on this.
> I updated the proposal:
> http://files.derickrethans.nl/property_overloading.html
> If nobody as any better idea on how to solve it I'd like to start
> implementing it.
To your solution of problem 3. We do not yet allow signatures of the
form (... [, ...]) since that would break our inheritance system.
The thing you could do is that the root class decides whetehr we have
that optional paramater always or never.
Best regards,
Marcus