Re: [VOTE] Automatic Property Initialization
| From: | Stas Malyshev | Date: | Sat, 01 Feb 2014 09:04:19 +0000 |
| Subject: | Re: [VOTE] Automatic Property Initialization | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71916@lists.php.net to get a copy of this message | ||
Hi!
> I've opened the voting for Automatic Property Initialization:
>
> - https://wiki.php.net/rfc/automatic_property_initialization
>
Please note that this RFC adds actually two features - the $this->foo in
ctor args and functions with empty body described as foo(); - but only
if this function is a constructor. None of other functions can do that.
Which sounds pretty inconsistent to me.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227