Re: [VOTE] Automatic Property Initialization

From: Date: Sat, 01 Feb 2014 21:27:40 +0000
Subject: Re: [VOTE] Automatic Property Initialization
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message


On 01/02/14 19:53, Sara Golemon wrote:
Because it's different from already existing syntax (Code exists in the wild using HHVM's version of the syntax - https://wiki.php.net/rfc/constructor-promotion ). I'm not sure which part you're confused about.
HHVM might already have it, yes, but PHP should strive for nicer and more obvious syntax choices. The PHP syntax is more obvious in what it does. -- Andrea Faulds http://ajf.me/

Thread (34 messages)

« previous php.internals (#71947) next »