Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14358 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87674 invoked by uid 1010); 12 Jan 2005 16:16:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86919 invoked by uid 1007); 12 Jan 2005 16:16:37 -0000 Message-ID: <20050112161637.86918.qmail@pb1.pair.com> To: internals@lists.php.net, Torsten Roehr Date: Wed, 12 Jan 2005 17:16:05 +0100 References: <20050112155751.33379.qmail@pb1.pair.com> Lines: 12 User-Agent: KNode/0.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Posted-By: 217.235.96.158 Subject: Re: Get name of extending class with static method call (PHP5) From: johannes@php.net (Johannes Schlueter) > With PHP4 it was possible to get the correct class name with > debug_backtrace(). This behaviour has been changed in PHP5. > How can I get the name of the extending class that invoked the method in > drive()? There was a short discussion on this on this list, too some month ago. The result was that there is (at least currently) no way to get the right class. My CVS Log tells me that I needed this last April so I think the discussion was around that time, maybe a bit later - if someone wants to search the archives. johannes