Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23486 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85938 invoked by uid 1010); 16 May 2006 22:57:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85923 invoked from network); 16 May 2006 22:57:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2006 22:57:32 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:59834] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 64/17-19568-BD85A644 for ; Tue, 16 May 2006 18:57:31 -0400 Received: from baumbart.mbo (dslb-084-063-059-004.pools.arcor-ip.net [84.63.59.4]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 922D635C1E9; Wed, 17 May 2006 00:57:27 +0200 (CEST) Date: Wed, 17 May 2006 00:57:33 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <972565655.20060517005733@marcus-boerger.de> To: Andi Gutmans Cc: Jason Garber , Zeev Suraski , In-Reply-To: <7.0.1.0.2.20060516140413.044c2b18@zend.com> References: <785810036.20060511193536@ionzoft.com> <7.0.1.0.2.20060515210559.06acd350@zend.com> <1217741491.20060515174322@ionzoft.com> <7.0.1.0.2.20060515190856.02b53bb0@zend.com> <7.0.1.0.2.20060516133713.037f5a10@zend.com> <4010070824.20060516225528@marcus-boerger.de> <7.0.1.0.2.20060516140413.044c2b18@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] private, protected, readonly, public From: helly@php.net (Marcus Boerger) Hello Andi, Tuesday, May 16, 2006, 11:09:51 PM, you wrote: > Hi Marcus, > I don't see why everything is always personal for you. Na. Don't get me wrong here. I am just trying to express that what we did in the past didn't really work out. The conservative behavior of adding new features late if at all resulted in a few problems we might have been able to avoid had we added the stuff earlier. Howver adding everything early is as you correctly said unmaintainable. And i further more have no alternative. > As I mentioned > numerous times in the past, having an in-depth discussion about > features, both their implementation, affect on language semantics, > and relevance to PHP is very beneficial for all. All I meant was that > the implementation is one step (and a very necessary step) but that > having a patch doesn't always mean it should be applied right away. I > just want to make sure we all think it through and discuss the > different cases. Discussing it is good as long as we actually agree that it is worth discussing :-) > So it boils down again to the same very relevant question I asked > initially. Where do you see the edge cases? Can I return a readonly > property by reference, can I assign it by reference? Nope, no references. References would allow writing. Because PHP doesn't offer readonly variable at all. Which is another reason i went the 'readable' road. > So I'm really not asking for too much. Just asking to also work on > the second part which is defining better the reach of this patch. I > think this part needs at least as much effort as the patch itself. I do all i can. I try to get it straight, find a nice semantics buld up my own opinion and the try to convince people of it. Besides that as always i try to correct any technical or theoretical issue i can stand helping more people to understand the matters :-) It's just little but all i can do, sorry :-) Best regards, Marcus