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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Morten Rønseth" <morten.ronseth@xxxxxxxx> wrote in message
news:20050112134715.69463.qmail@xxxxxxxxxxxxxxx
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux