On Tue, 8 Jul 2003 23:35:14 +0200
[EMAIL PROTECTED] (Marcus Börger) wrote:
[snip]
> - the method is defined in class a so pre is correct
> - backtrace @[0] sees the top caller class that's b that's correct
> - get_class($var) sees the class of the variable. In you static case that is
> NULL whic
Hello Phil,
Tuesday, July 8, 2003, 11:11:49 PM, you wrote:
PD> Is there a function that can be used to retrieve the name of a statically
PD> called child class from within an inherited method? debug_backtrace() works
PD> for this purpose, but I've seen people say that it is slow. Consider the
PD>
Is there a function that can be used to retrieve the name of a statically
called child class from within an inherited method? debug_backtrace() works
for this purpose, but I've seen people say that it is slow. Consider the
example code below. Is this a planned feature for PHP 5, or could this
possi