Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33981 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43447 invoked by uid 1010); 12 Dec 2007 23:20:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 43431 invoked from network); 12 Dec 2007 23:20:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2007 23:20:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=ralph@smashlabs.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ralph@smashlabs.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain smashlabs.com from 67.15.58.61 cause and error) X-PHP-List-Original-Sender: ralph@smashlabs.com X-Host-Fingerprint: 67.15.58.61 openrce.org Linux 2.6 Received: from [67.15.58.61] ([67.15.58.61:38689] helo=users.smashlabs.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/20-34780-47C60674 for ; Wed, 12 Dec 2007 18:19:17 -0500 Received: (qmail 14360 invoked from network); 12 Dec 2007 17:19:14 -0600 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Dec 2007 17:19:13 -0600 Message-ID: <47606C70.3050202@smashlabs.com> Date: Wed, 12 Dec 2007 17:19:12 -0600 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: internals Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Namespace access modifiers From: ralph@smashlabs.com (Ralph Schindler) Since everyone is in the "namespace" frame of mind, is there a possibility of a "namespace" access modifier? The way I envision this working is that if for example: namespace Foo; class Bar { nsprotected $_someProperty = null; } (or some other equivalent grammer) Would allow the property Foo::Bar::$_someProperty to be accessed from any class that has implemented a class from the Foo namespace. Reaching for straws or is this a possibility? -ralph