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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php