Re: RFC: C-sharp style property get/set syntax for PHP
| From: | Stas Malyshev | Date: | Wed, 01 Dec 2010 09:26:47 +0000 |
| Subject: | Re: RFC: C-sharp style property get/set syntax for PHP | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50761@lists.php.net to get a copy of this message | ||
Hi!
Just to chime in on the subject of performance, here is how C# handles properties:PHP is not a compiled language and as such handling of properties, in particular, is radically different in PHP. For example, the property name in expression like $foo->$bar is known only in runtime. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227