Re: Re: Get name of extending class with static method call

From: Date: Wed, 12 Jan 2005 15:42:32 +0000
Subject: Re: Re: Get name of extending class with static method call
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.general 
Request: Send a blank email to php-general+get-206201@lists.php.net to get a copy of this message
"Morten Rønseth" <morten.ronseth@webfx.no> wrote in message news:20050112134715.69463.qmail@pb1.pair.com... > Hi, > > I just tried the example code at > http://www.zend.com/lists/php-dev/200307/msg00244.html using > PHP 5.0.3 > > The backtrace doesn't see class b at all, all references to it have > vanished into thin air. > > I spent days trying to solve this on my own until I happened upon this > thread - it appears that there is no clean way of retrieving the name of > the calling class, in a classmethod defined in the superclass. I do not > want to overload the sperclass' method. > > I do not accept that this is misusing the static concept - without it, > PHP 5 seems rather lame. How does one go about making a feature request? > There has to be a way to get this implemented into PHP 5... > > Cheers, > -Morten Hi guys, I guess it's time to risk asking on php-dev ;) I will try my luck. Let's see what the gurus say! Regards, Torsten

« previous php.general (#206201) next »