Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23491 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 377 invoked by uid 1010); 16 May 2006 23:28:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 362 invoked from network); 16 May 2006 23:28:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 May 2006 23:28:32 -0000 X-PHP-List-Original-Sender: dante@vocalspace.com X-Host-Fingerprint: 69.56.193.72 fox02.stravio.com Linux 2.5 (sometimes 2.4) (4) Received: from ([69.56.193.72:59504] helo=fox02.stravio.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id F4/19-19568-0206A644 for ; Tue, 16 May 2006 19:28:32 -0400 Received: from [127.0.0.1] (unknown [66.243.31.162]) by fox02.stravio.com (Postfix) with ESMTP id 49D2726C335; Tue, 16 May 2006 18:28:29 -0500 (CDT) Message-ID: <446A601A.8010205@vocalspace.com> Date: Tue, 16 May 2006 18:28:26 -0500 User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Jason Garber Cc: Christian Schneider , internals@lists.php.net, Marcus Boerger References: <785810036.20060511193536@ionzoft.com> <44647B7A.2070301@php.net> <932738738.20060513112734@marcus-boerger.de> <837405862.20060513223403@ionzoft.com> <36828701.20060514110529@marcus-boerger.de> <31269879.20060514221212@marcus-boerger.de> <1327845846.20060514222154@marcus-boerger.de> <1562034641.20060516203354@marcus-boerger.de> <7.0.1.0.2.20060516235201.090f10a8@zend.com> <7.0.1.0.2.20060516142654.02c78380@zend.com> <596643859.20060516233753@marcus-boerger.de> <7.0.1.0.2.20060516144030.039abe98@zend.com> <1531743211.20060516234945@marcus-boerger.de> <1014418169.20060516181322@ionzoft.com> <1677590447.20060517002135@marcus-boerger.de> <446A5B52.9060001@cschneid.com> <27079878.20060516191743@ionzoft.com> In-Reply-To: <27079878.20060516191743@ionzoft.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] private, protected, readonly, public From: dante@vocalspace.com ("D. Dante Lorenso") Jason Garber wrote: > CS> Does anyone apart from me wonder why we need to bloat the language for > CS> an obscure feature like this? Please take a step back, take a deep > CS> breath, count to 10 and that's *really* what the PHP community has been > CS> waiting for. > > Please consider that not everyone does the same things with PHP that > you do - you apparently haven't run into the need for it. > > That's okay, but others have. > I'm not familiar with this OOP concept from any other language. Perhaps it exists, but if it doesn't, is there a reason why? If you add a language construct like 'readable' or 'readonly' wouldn't that almost begin to require the need for reflection functions to go along with it: is_readable($object, $key) Or something like that? Dante