Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23314 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97243 invoked by uid 1010); 12 May 2006 17:41:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97227 invoked from network); 12 May 2006 17:41:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2006 17:41:07 -0000 X-PHP-List-Original-Sender: bgrupe@gmail.com X-Host-Fingerprint: 66.249.92.169 ug-out-1314.google.com Linux 2.4/2.6 Received: from ([66.249.92.169:5311] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3E/61-19568-3B8C4644 for ; Fri, 12 May 2006 13:41:07 -0400 Received: by ug-out-1314.google.com with SMTP id k3so583142ugf for ; Fri, 12 May 2006 10:41:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=qgXRno5RhoRchuV1cCIrLseQesyw4lQGN/CXifw36ghTk7b8Oitf2jxfna3sUh/ETZNgZM/XIdJN1DBKrH2cTgml7bWmKFik7FO/P3Ru9DBtCjdmHliD+92GZIAXePtxqFUzI0KNb5cxjPuRGYny+waQB2teJsRK+v4JbUcHztY= Received: by 10.67.87.4 with SMTP id p4mr1879982ugl; Fri, 12 May 2006 10:41:04 -0700 (PDT) Received: from ?192.168.1.16? ( [80.128.18.134]) by mx.gmail.com with ESMTP id e1sm1083811ugf.2006.05.12.10.41.03; Fri, 12 May 2006 10:41:04 -0700 (PDT) Message-ID: <4464C8AE.1050806@gmail.com> Date: Fri, 12 May 2006 19:41:02 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060308 Thunderbird/1.5.0.2 Mnenhy/0.7.4.0 MIME-Version: 1.0 To: Hartmut Holzgraefe CC: Jason Garber , internals@lists.php.net References: <785810036.20060511193536@ionzoft.com> <4464AC64.5050706@gmail.com> <4464C6C9.40307@php.net> In-Reply-To: <4464C6C9.40307@php.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] private, protected, readonly, public From: bgrupe@gmail.com (Bastian Grupe) Hartmut Holzgraefe wrote: > Bastian Grupe wrote: > > You didn't want to return $bar in your example, you wanted > to return $this->bar so you already ran into one of the > issues here ;) > Blame my recent use of Java here ;-) Well, I think the whole point of ppp is to having to use setters and getters consistently. I personally wouldn't like to be able to access some members which are private, and not others. It just *feels* wrong. And I don't know whether or not less typing is really a good argument in this situation (think unreadable code in shortcut-ish programming languages). -- Bastian