|
Posted by Torsten Roehr on 10/03/52 11:05
"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
Navigation:
[Reply to this message]
|