Re: Get name of extending class with static method call (PHP5)

From: Date: Wed, 12 Jan 2005 16:16:05 +0000
Subject: Re: Get name of extending class with static method call (PHP5)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-14358@lists.php.net to get a copy of this message
> 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

« previous php.internals (#14358) next »