Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17340 invoked by uid 1010); 12 May 2006 21:07:45 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 17325 invoked from network); 12 May 2006 21:07:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2006 21:07:45 -0000 X-PHP-List-Original-Sender: colder@php.net X-Host-Fingerprint: 195.186.18.65 mail19.bluewin.ch Received: from ([195.186.18.65:56598] helo=mail19.bluewin.ch) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 37/B3-19568-F19F4644 for ; Fri, 12 May 2006 17:07:43 -0400 Received: from [10.0.0.1] (83.76.235.227) by mail19.bluewin.ch (Bluewin 7.2.073) id 4461DA91000A4F29; Fri, 12 May 2006 21:07:35 +0000 Message-ID: <4464F915.7080703@php.net> Date: Fri, 12 May 2006 23:07:33 +0200 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Hartmut Holzgraefe CC: Jason Garber , internals@lists.php.net References: <785810036.20060511193536@ionzoft.com> <44647B7A.2070301@php.net> <4464C4AA.8020102@php.net> In-Reply-To: <4464C4AA.8020102@php.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] private, protected, readonly, public From: colder@php.net (Etienne Kneuss) Yes, I also consider the visibility as a candy functionality. > Etienne Kneuss wrote: >> 2) It only requires a bit of discipline, not to edit the properties you >> want to be readonly. > > well, then we don't need private/protected/public at all, > as it only requires a bit of discipline not to access the > properties you want to be visible to the class or its > children only? -- Etienne Kneuss http://www.colder.ch/ colder@php.net