useful (for example in my case, now :-).
debug_backtrace() will be available in PHP 4.3.0 and higher.
Derick
I thought debug_backtrace() was a ze2 thing. Does that mean 4.3 is going to
use ze2?
Phil Dier
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http
in this simple case, but adding more member
vars and defining
objects in different places complicates things. This behaviour is a bug IMO. And yes
I saw the note in
the manual, but i still think this is counter-intuitive and has the chance to break
people's code (it broke
mine).
Phil Dier
it
be more useful if it
gave the child class name?
?
class base
{
function print_something()
{
echo __CLASS__.\n;
print_r(debug_backtrace());
}
}
class child extends base {}
child::print_something();
$c = new child();
$c-print_something();
?
Phil Dier [EMAIL