Hi,
Not really, too.
Array
(
[0] => Array
(
[file] => -
[line] => 8
[function] => foo
[class] => a
[type] => ::
[args] => Array
(
)
)
)
Array
(
[0] => Array
(
debug_backtrace();
Not the prettiest solution, but a reliable one nonetheless.
-Sara
"Johannes Schlueter" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> Andrey Hristov wrote:
> > echo get_class($this).'::'.__FUNCTION__ (when there is an instance of
the
> > class) but AFAIK
Hi,
Andrey Hristov wrote:
> echo get_class($this).'::'.__FUNCTION__ (when there is an instance of the
> class) but AFAIK in your case with static calls there is no solution.
Is there some way to add a function (or some other magic thing) that works
with static calls and call it a bug fix, so it c
Daniel J Cain Jr. wrote:
I am by no means an expert with OOP, so if this is a blatantly retarded
question please excuse my ignorance.
Given this code:
class B
{
function bar()
{
// blah
}
}
$instance = B::foo();
?>
output is "A::foo".
Is this correct? I would expect (want ma
I am by no means an expert with OOP, so if this is a blatantly retarded
question please excuse my ignorance.
Given this code:
class B
{
function bar()
{
// blah
}
}
$instance = B::foo();
?>
output is "A::foo".
Is this correct? I would expect (want maybe :) ) to see output as