Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:92139 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38016 invoked from network); 7 Apr 2016 18:07:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Apr 2016 18:07:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.51 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.51 mail-wm0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:34936] helo=mail-wm0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/12-48788-0E1A6075 for ; Thu, 07 Apr 2016 14:07:29 -0400 Received: by mail-wm0-f51.google.com with SMTP id 191so100201282wmq.0 for ; Thu, 07 Apr 2016 11:07:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=3uVF3ilS5sf2R+qI+RIvvi6DccunLZHRnnbebPae2yM=; b=TK9HCpGjwgx6daoVIVJLaLNjceh9beSF/9GiW6L4ibBDdt7dM5s6+qSovgfJTx0kNl 58OIXCzMyE/G2EAfKwxMH3Gcq2WTDkJXo1B7RUAKF5kzbi1bksj85fNERNU2X417iksY HkkMkoXH0cI3bQ0IbnbknR64xG8vr2/zvpT4hUMYfdIl1VlKLZXItYSFB9vBjazPX5Ry y9T6JTyeSA7T0BE7PCmwyFcybXW0SqTds3k2R94Ln6KagVmMaFOjpJIGE6G+u8af/3Ly yqOxuGefQBT/MzdYbWcKqDgzmR8yufbZfM0asx6kb3F5sXwDV8TQ1moq3E3xohWOTw0S OHkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=3uVF3ilS5sf2R+qI+RIvvi6DccunLZHRnnbebPae2yM=; b=LGoJ+KbEQ1czGoTZczvX0Sof4p5t3ezLFrufL5q9OJV68bApvb0zXgQWkxTOc2HzLj RvSyG4PvQZF2v5MRv+IIstLkQc47RNr57JD+Z5INJ5s6Z1qrI5ubRrExfO9WzY+06Fi3 o6kc7qH+1nuhiqphBi1qAPwIviTNRezHZYXVXGtwTjPG9FdkOBXH/9fr4V1XpQRHbmug RQdnWKbu4r6EaoSCi0tZqLKhrbBc46DRtgoaFXLF1giTaH6nlPmsh5sGa5wd4yvCZT19 D0Y+BjzfBOkcO2+mfEU522eC53FzHdOsjsaLqyH/Y0aL7U+cTji6bTgmiK4/6dxQN63D oC8g== X-Gm-Message-State: AD7BkJJ10Tj0GOfeqB1YfVSrai2YTJ/4yfmU3cwiF2dvDXQtnKmFEVbdm4W7lsUpant19w== X-Received: by 10.194.202.195 with SMTP id kk3mr4935294wjc.159.1460052445984; Thu, 07 Apr 2016 11:07:25 -0700 (PDT) Received: from [192.168.0.86] ([93.188.182.58]) by smtp.googlemail.com with ESMTPSA id g3sm9592328wjw.31.2016.04.07.11.07.25 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 11:07:25 -0700 (PDT) To: internals@lists.php.net References: <56ED495C.80809@fleshgrinder.com> <57069A72.7030100@fleshgrinder.com> Message-ID: <5706A182.6080401@gmail.com> Date: Thu, 7 Apr 2016 19:05:54 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <57069A72.7030100@fleshgrinder.com> Content-Type: multipart/alternative; boundary="------------030408000100080208040505" Subject: Re: [PHP-DEV] Access and Visibility Modifiers From: rowan.collins@gmail.com (Rowan Collins) --------------030408000100080208040505 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Fleshgrinder wrote on 07/04/2016 18:35: > I would like to change above definition for properties since the*var* > deprecation was voted negative: > > # Properties > private := limited to the current class > protected := limited to the current and child classes > var := limited to the current assembly > public := global I'm not convinced of the value of reusing the keyword in this way. To me, there is nothing in the term "var" that means "slightly less than public", and if we want to have package/assembly/whatever visibility, we should reserve a new keyword for that use. Meanwhile, it might be worth checking the list archives for previous discussions of package visibility; I know it has come up a couple of times recently, in various forms, so it would be good not to repeat the same points again and again. Regards, -- Rowan Collins [IMSoP] --------------030408000100080208040505--