Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14364 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24276 invoked by uid 1010); 12 Jan 2005 19:07:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23708 invoked by uid 1007); 12 Jan 2005 19:07:27 -0000 Message-ID: <20050112190726.23678.qmail@pb1.pair.com> To: internals@lists.php.net References: <20050112155751.33379.qmail@pb1.pair.com> <20050112161637.86918.qmail@pb1.pair.com> Date: Wed, 12 Jan 2005 20:09:31 +0100 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Posted-By: 217.86.168.9 Subject: Re: Get name of extending class with static method call (PHP5) From: roehr@zilleon.com ("Torsten Roehr") "Johannes Schlueter" wrote in message news:20050112161637.86918.qmail@pb1.pair.com... > > 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. That's what I found out as well while searching the archives. Any more ideas? Something so straightforward and fundamental should be possible!?! Best regards, Torsten Roehr