On 02/01/2014 09:04 AM, Stas Malyshev wrote:
Hi!
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.
The patch currently just allow for $this→foo as constructor arguments, since this is the desired core functionality. Any of the other suggested features, like methodless constructors or alternative syntax or using a keyword are subject to discussion. They are not part of this patch.
The vote is for the current patch. You are solely voting on allowing $this→foo as constructor arguments. None of the other suggested features in this document are subject to vote.
The patch, and vote, is only for automatic property initialization, not methodless constructors.
Cheers
Joe