Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23458 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49482 invoked by uid 1010); 16 May 2006 14:27:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 49466 invoked from network); 16 May 2006 14:27:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2006 14:27:54 -0000 X-PHP-List-Original-Sender: hartmut@php.net X-Host-Fingerprint: 213.136.52.68 mailgate-out2.mysql.com Linux 2.5 (sometimes 2.4) (4) Received: from ([213.136.52.68:45658] helo=mailgate.mysql.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 66/F6-19568-761E9644 for ; Tue, 16 May 2006 10:27:51 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mailgate.mysql.com (8.13.4/8.13.4) with ESMTP id k4GERlB3029844; Tue, 16 May 2006 16:27:47 +0200 Received: from mail.mysql.com ([10.222.1.99]) by localhost (mailgate.mysql.com [10.222.1.98]) (amavisd-new, port 10026) with LMTP id 28146-03; Tue, 16 May 2006 16:27:47 +0200 (CEST) Received: from [10.100.64.53] (10-100-64-53.mysql.internal [10.100.64.53]) (authenticated bits=0) by mail.mysql.com (8.13.3/8.13.3) with ESMTP id k4GERSBT019107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 May 2006 16:27:30 +0200 Message-ID: <4469E148.2020904@php.net> Date: Tue, 16 May 2006 16:27:20 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: Sebastian Bergmann CC: internals@lists.php.net References: <785810036.20060511193536@ionzoft.com> <7.0.1.0.2.20060515210559.06acd350@zend.com> <1217741491.20060515174322@ionzoft.com> <89.E7.19568.50199644@pb1.pair.com> <7.0.1.0.2.20060516133953.09045a30@zend.com> <63.CD.19568.525B9644@pb1.pair.com> <4858f9d90605160625u11fcaef8ta07fc199558eca9f@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mailgate.mysql.com Subject: Re: [PHP-DEV] private, protected, readonly, public From: hartmut@php.net (Hartmut Holzgraefe) Sebastian Bergmann wrote: > Stefan Walk wrote: >> I'm against visible private variables. If they are visible, they are >> part of the interface of the class, which means changing the >> implementation means a BC break. > > This is a valid point against readonly, indeed. > no, it is a valid point against implicit visibility, not against *declaring* a property as readonly -- Hartmut Holzgraefe, Senior Support Engineer . MySQL AB, www.mysql.com Are you certified? http://www.mysql.com/training/certification