Re: RFC: C-sharp style property get/set syntax for PHP
| From: | Kalle Sommer Nielsen | Date: | Mon, 06 Dec 2010 06:00:44 +0000 |
| Subject: | Re: RFC: C-sharp style property get/set syntax for PHP | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50865@lists.php.net to get a copy of this message | ||
Hi Dennis
2010/12/6 <president@basnetworks.net>:
> Could this easily be used (and would it make sense to use them) in this
> situation? I think the best solution is for get/set to be keywords, but
> only in the context of a property definition. Will this accomplish the
> task?
I'm sure it can be done, but I'm not sure how good it would be and if
it requires hacks to the parser. Someone with more in-depth knowledge
of ZE might be able to answer this ;-)
--
regards,
Kalle Sommer Nielsen
kalle@php.net