Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92033 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59241 invoked from network); 30 Mar 2016 20:44:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Mar 2016 20:44:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=bjorn.x.larsson@telia.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=bjorn.x.larsson@telia.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain telia.com from 81.236.60.155 cause and error) X-PHP-List-Original-Sender: bjorn.x.larsson@telia.com X-Host-Fingerprint: 81.236.60.155 v-smtpout2.han.skanova.net Received: from [81.236.60.155] ([81.236.60.155:51249] helo=v-smtpout2.han.skanova.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DE/30-57520-2AA3CF65 for ; Wed, 30 Mar 2016 15:44:19 -0500 Received: from [192.168.7.7] ([195.198.188.252]) by cmsmtp with SMTP id lMyNaigbTGabYlMyNaMUlp; Wed, 30 Mar 2016 22:44:15 +0200 To: Phil Sturgeon References: <1458149992.3969.2.camel@kuechenschabe> <1458151531.3969.8.camel@kuechenschabe> <1458153695.3969.16.camel@kuechenschabe> <3F.70.02405.6803BE65@pb1.pair.com> <56F01545.8080008@gmail.com> <56F14572.701@gmail.com> <56F15EF5.80006@telia.com> <56F16023.1010002@gmail.com> <56FAD03C.20701@telia.com> Cc: PHP internals Message-ID: <56FC3AA4.4090207@telia.com> Date: Wed, 30 Mar 2016 22:44:20 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfKL2v26nPEVGL5qlzyOn817/sQ7Yekira2h+hfVsyKPsanUCGbjnU/6+VMjQaQ5aIwOOshF/RaJLbaBmqUtFYIVY0x3cmzVFkANRdBSnDb+wm6yQGqJd ec80MRksffrGYtqga7Q/8FuQn5cVIwVZ9IN/alu9RIdIny+ITHxtDTTmZNwGK/Wu+4H82UVJKZ8WcTgWcbs/TFgLc2Z/cq9RWf5r1P6rC3tMANH3mALx9CGc Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) Den 2016-03-29 kl. 22:38, skrev Phil Sturgeon: > On Tue, Mar 29, 2016 at 2:58 PM, Björn Larsson > wrote: >> Den 2016-03-29 kl. 17:32, skrev Phil Sturgeon: >>> I'd like to thank everyone for their feedback on this RFC! >>> >>> It looks like the majority of concerns were solved during the course >>> of this discussion, which is great news. >>> >>> The RFC has been expanded in a few areas to take care of a few other >>> concerns, so please go and review it and let me know if you have any >>> feedback. >>> >>> https://wiki.php.net/rfc/typed-properties >>> >>> Voting will start in a few days. >>> >>> Cheers, >>> Phil >>> >> A question. Should the visibility keyword public be optional >> like it is for methods and static properties? >> >> Regards //Björn >> > Hey Björn, this RFC has literally zero impact on visibility keywords. > You can use public, private, protected, you can omit it entirely or > you can use var if you like. It makes no difference. > I tried omitting public keyword from class declaration: class A { public int $i = 3; } on https://3v4l.org/OFr2a/rfc#tabs and got error message. Anyway, appreciating the good work, both of you are doing in moving this proposal forward. Regards //Björn