Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23421 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44757 invoked by uid 1010); 15 May 2006 21:26:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44741 invoked from network); 15 May 2006 21:26:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2006 21:26:57 -0000 X-PHP-List-Original-Sender: jasper@album.co.nz X-Host-Fingerprint: 210.55.31.88 mail.album.co.nz Linux 2.5 (sometimes 2.4) (4) Received: from ([210.55.31.88:34483] helo=mail.album.co.nz) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 12/B3-19568-F12F8644 for ; Mon, 15 May 2006 17:26:56 -0400 Received: from mail.album.co.nz (www.album.co.nz [127.0.0.1]) by mail.album.co.nz (Postfix) with ESMTP id 51ACCF5B02; Tue, 16 May 2006 09:26:50 +1200 (NZST) X-Spam-Checker-Version: SpamAssassin 3.1.1-gr0 (2006-03-10) on www.album.co.nz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable version=3.1.1-gr0 Received: from [192.168.225.244] (gate1.digiweb.net.nz [202.174.112.3]) by mail.album.co.nz (Postfix) with ESMTP id 08B263AB08; Tue, 16 May 2006 09:26:49 +1200 (NZST) Message-ID: <4468F219.8030806@album.co.nz> Date: Tue, 16 May 2006 09:26:49 +1200 Organization: Album Limited User-Agent: Mail/News 1.5 (X11/20060309) MIME-Version: 1.0 To: Zeev Suraski CC: Jason Garber , internals@lists.php.net References: <785810036.20060511193536@ionzoft.com> <7.0.1.0.2.20060515210559.06acd350@zend.com> In-Reply-To: <7.0.1.0.2.20060515210559.06acd350@zend.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] private, protected, readonly, public From: jasper@album.co.nz (Jasper Bryant-Greene) -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Zeev Suraski wrote: > I have to say that in second thought (after realizing what you really > meant) it sounds like a very useful feature. [snip] > In order to push complexity down I'd avoid making this yet another > modifier, and in fact make this an access level, on par with > private/protected/public, that would behave like public, except for when > outside the object scope (i.e., have it between protected and public). > One of the trickey things would be finding an acceptable name, since > 'readonly' implies something which this variable isn't (it's very much > writable, from the right places). Maybe something like 'visible' (of > course preferably we need to find something that begins with 'p'...) How about... 'package' ;) Jasper -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEaPIZFfAeHhDzT4gRA6MwAJ95DrFGcKmn724VR2y8kaKrpNychwCgm4Ep U84/fYGcy2JjbwlIBBlBBqI= =G9a4 -----END PGP SIGNATURE-----