Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42826 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35386 invoked from network); 25 Jan 2009 15:31:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jan 2009 15:31:17 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:52678] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/2B-55096-5C58C794 for ; Sun, 25 Jan 2009 10:31:17 -0500 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id E4CD9414405C; Sun, 25 Jan 2009 15:32:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sUVD-IjvVPIR; Sun, 25 Jan 2009 16:32:07 +0100 (CET) Received: from [192.168.0.151] (77-58-151-147.dclient.hispeed.ch [77.58.151.147]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id 9CFD64144009; Sun, 25 Jan 2009 16:32:06 +0100 (CET) Cc: PHP internals Message-ID: <0E404FAB-2703-41C1-825C-6B8AE367E8BA@pooteeweet.org> To: David Grudl In-Reply-To: <49778E0A.5010806@grudl.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 25 Jan 2009 16:31:12 +0100 References: <49778E0A.5010806@grudl.com> X-Mailer: Apple Mail (2.930.3) Subject: Re: [PHP-DEV] Enhanced __CLASS__ constant From: mls@pooteeweet.org (Lukas Kahwe Smith) On 21.01.2009, at 22:05, David Grudl wrote: > Especially in namespaced code it should be very useful to have > "something" returning fully qualified name as string. It can be > operator, but I think introducing new keyword is bad way, or it can > be realized using well known magic constant in new context: I agree that there should be an easy way to get a fully qualified name from an identifier. Not sure what the best approach would be though .. regards, Lukas Kahwe Smith mls@pooteeweet.org