Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92204 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28443 invoked from network); 11 Apr 2016 17:43:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Apr 2016 17:43:13 -0000 X-Host-Fingerprint: 140.146.203.26 unknown Received: from [140.146.203.26] ([140.146.203.26:7297] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/00-28094-E22EB075 for ; Mon, 11 Apr 2016 13:43:11 -0400 Message-ID: <04.00.28094.E22EB075@pb1.pair.com> To: internals@lists.php.net References: <56F14572.701@gmail.com> <56F15EF5.80006@telia.com> <56F16023.1010002@gmail.com> <56FC4ED6.6050701@telia.com> <57001915.3030407@telia.com> Date: Mon, 11 Apr 2016 12:43:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 140.146.203.26 Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties From: me@stephencoakley.com (Stephen Coakley) 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