Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91767 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6993 invoked from network); 19 Mar 2016 10:38:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Mar 2016 10:38:27 -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.154 cause and error) X-PHP-List-Original-Sender: bjorn.x.larsson@telia.com X-Host-Fingerprint: 81.236.60.154 v-smtpout1.han.skanova.net Received: from [81.236.60.154] ([81.236.60.154:56152] helo=v-smtpout1.han.skanova.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E4/15-03097-02C2DE65 for ; Sat, 19 Mar 2016 05:38:25 -0500 Received: from [192.168.7.7] ([195.198.188.252]) by cmsmtp with SMTP id hEGyaVpKgC0O7hEGyaOgz1; Sat, 19 Mar 2016 11:38:21 +0100 To: Fleshgrinder References: <56E9CC3E.10205@telia.com> <56E9D45D.4060309@fleshgrinder.com> <56EC611F.7050601@fleshgrinder.com> Cc: PHP internals Message-ID: <56ED2C1C.3090902@telia.com> Date: Sat, 19 Mar 2016 11:38:20 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: <56EC611F.7050601@fleshgrinder.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfFMniyu6vItmTvXc9FGdk67wWk19ffZmcUT9D0RDN/aqUuFYZNlq7wH05n/Yr5tDKrDOLQcH1fXb4Zb1/MgZD6Y0aAS8jmwwAxHbyC0Nk0kdKMIcpVYf t84KLYc28bYUIhi1RA4kZdheho4tdf6eegWYjjzceW996e5uj/isqkeDg8QPLfwOa0qw/lE6I2cZrj0PU7KPvJneICvNenj6Ae2NGElrWSTV5FU+Xg9Yy+BD Subject: Re: [PHP-DEV] [RFC Discussion] Typed Properties From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) Den 2016-03-18 kl. 21:12, skrev Fleshgrinder: > On 3/17/2016 9:03 AM, Benjamin Eberlei wrote: >> Sorry to dampen your enthusiasm, but you are going slightly off topic here. >> Package visibility was tried by Guilherme Blanco before, the way namespaces >> are implemented this is not possible in PHP in an easy way. As far as i >> understood him, its way too much work for the little benefit. Typed >> properties is a huge concept on its own, one small step at a time :-) >> > No worries you are not, not at all. I just wanted to thwart you and > others in directly assigning ... > > final class A { > int $x; > } > > ... to be *public* and obstruct the opportunity of assigning it a > meaningful new functionality. > Well, but if one should assign int $x without visibility keyword a meaning, shouldn't it be the same as for function y() {} without keyword, i.e. public? Of course one can change both, but that sounds like a 8.0 topic. Regards //Björn