Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14365 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7755 invoked by uid 1010); 12 Jan 2005 19:23:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7717 invoked from network); 12 Jan 2005 19:23:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Jan 2005 19:23:01 -0000 X-Host-Fingerprint: 195.141.85.118 uf2.search.ch Linux 2.4/2.6 Received: from ([195.141.85.118:35434] helo=xaxa.search.ch) by pb1.pair.com (ecelerity HEAD (r4059)) with SMTP id 75/80-40505-41975E14 for ; Wed, 12 Jan 2005 14:23:00 -0500 Received: from localhost (localhost [127.0.0.1]) by xaxa.search.ch (Postfix) with ESMTP id 7FB566D8E5; Wed, 12 Jan 2005 20:22:56 +0100 (CET) Received: by xaxa.search.ch (Postfix, from userid 65534) id 49D816D8E2; Wed, 12 Jan 2005 20:22:55 +0100 (CET) Received: from [192.168.1.72] (ultrafilter2-i [192.168.85.3]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by xaxa.search.ch (Postfix) with ESMTP id A01CD6D8DF; Wed, 12 Jan 2005 20:22:54 +0100 (CET) Message-ID: <41E5790D.2090402@cschneid.com> Date: Wed, 12 Jan 2005 20:22:53 +0100 User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Torsten Roehr Cc: internals@lists.php.net References: <20050112155751.33379.qmail@pb1.pair.com> <20050112161637.86918.qmail@pb1.pair.com> <20050112190726.23678.qmail@pb1.pair.com> In-Reply-To: <20050112190726.23678.qmail@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on xaxa.search.ch X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Virus-Scanned: by AMaViS 0.3.12pre8 Subject: Re: Get name of extending class with static method call (PHP5) From: cschneid@cschneid.com (Christian Schneider) Torsten Roehr wrote: > Something so straightforward and fundamental should be possible!?! Maybe is isn't as fundamental as you think? I never came across this problem in years of PHP programming. But then again I use classes with static calls for nothing but separate namespaces :-) I'm pretty sure there is another (possibly more elegant) solution. This is not a flame but a suggestion to rethink the problem you are trying to solve. - Chris