Re: [RFC Discussion] Typed Properties
| From: | Stephen Coakley | Date: | Mon, 11 Apr 2016 17:43:07 +0000 |
| Subject: | Re: [RFC Discussion] Typed Properties | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92204@lists.php.net to get a copy of this message | ||
On 04/06/2016 11:33 AM, Phil Sturgeon wrote:
We polled pretty hard and had a bunch of discussions about how multiple declarations should work, and ended up siding with Zeev and Larry, and all those others saying that type declarations should work for all just as visibility does currently: public int $foo, $bar; $bar here will be int. Trying to specify another type will resolve in an error. RFC is updated to match. We have a few more implementation tweaks to make, then it's off to the races with this one.Nice work; I really appreciate all of the hard work done on this RFC. A happy camper here with the results. -- Stephen