Re: Property Overloading RFC

From: Date: Thu, 25 Aug 2005 12:45:52 +0000
Subject: Re: Property Overloading RFC
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-18416@lists.php.net to get a copy of this message
Derick Rethans wrote:
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.
I seem to remember that we had some voices here stating that the current mechanisms are sufficient. Adding new keywords and/or new magic methods is something which should have a very high threshold as it complicates the language. To me the proposal looks like a worst of both worlds kind of compromise: Add new keywords and magic methods coupled with (ab)using the (in this context somewhat inelegant) __get/__set mechanism. So I'd rather not see this implemented to be honest. - Chris

« previous php.internals (#18416) next »