Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42107 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66321 invoked from network); 4 Dec 2008 22:19:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2008 22:19:16 -0000 Authentication-Results: pb1.pair.com header.from=surreal.w00t@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=surreal.w00t@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.25 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: surreal.w00t@gmail.com X-Host-Fingerprint: 74.125.78.25 ey-out-2122.google.com Received: from [74.125.78.25] ([74.125.78.25:2321] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/DA-20960-36758394 for ; Thu, 04 Dec 2008 17:19:15 -0500 Received: by ey-out-2122.google.com with SMTP id 5so1634147eyj.59 for ; Thu, 04 Dec 2008 14:19:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; bh=vNjzhKvf8cu6r93J+JE6moRUNRuZexWAPaw4RXaVY5I=; b=j1ycdRlk1ngrRWmqQn8yvhdMC17T6U+51D53YCLIfseKy8weihjRh7Sk16WMQUANEY 7bhbqwUXRMDhygsDQa05//265zwupQGXxLDb650J+1F38DBXeM793X1IrCMgQIpLqRgG hetiYmsKeWlr4EY25yG3E9MgE3Z9BY4fDl8ts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:sender:to:subject:mime-version :content-type:content-transfer-encoding:content-disposition :x-google-sender-auth; b=mNuWDIidfLsDKULkWKu+jOB3Wobm3A5Tny2gD9OkNhXscgWjF0MXXvfFQCVfqfqlR5 qH1NQVD4r+Txq5XCNZx4oVi1Qk0HN1qQaiiFjpHcFWByX/aDE1z6GBCo5Puc9i1pih9d TBb5WdJVepHCyHgAfRKxLerrgfCxin3BavReU= Received: by 10.86.76.16 with SMTP id y16mr168751fga.17.1228429152001; Thu, 04 Dec 2008 14:19:12 -0800 (PST) Received: by 10.86.87.15 with HTTP; Thu, 4 Dec 2008 14:19:11 -0800 (PST) Message-ID: Date: Thu, 4 Dec 2008 22:19:11 +0000 Reply-To: viroteck@viroteck.net Sender: surreal.w00t@gmail.com To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: cb383fd3e05460c8 Subject: Possible addition: scoped class constants From: viroteck@viroteck.net ("Robin Burchell") Hi, First up, I'd like to apologise in advance if I'm mailing the wrong place. I have done my homework before subscribing, and this looks to be the right one, but - one never can tell... Formalities out of the way, I've been a long-time PHP developer and I'm sort of considering dipping my feet into things - one thing in particular that bothers me that I'd like to consider looking at is the inability to scope class constants, i.e: class Foo { protected BAR = 5; } is not possible. This is perhaps not all that major, but considering that scoping for variables and methods is supported and respected, it seems like a rather strange omission. Is this perhaps something that would be looked on positively? If so, I might start trying to look into it in my spare time. (note: advice on where to look, what not to do, etc are all very much welcome). Thanks! Robin Burchell