Re: RFC: C-sharp style property get/set syntax for PHP
| From: | Stas Malyshev | Date: | Wed, 01 Dec 2010 12:30:56 +0000 |
| Subject: | Re: RFC: C-sharp style property get/set syntax for PHP | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50772@lists.php.net to get a copy of this message | ||
Hi!
No. The prototype of all setters would be the same. As would the prototype of all getters.But we'd have two sets of properties - one handled by __get/__isset, another - by get($isset). Not a good idea. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227