Re: [PHP-DEV] call_stack

2002-11-27 Thread Phil Dier
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

[PHP-DEV] usort() implementation in 4.1+

2002-07-26 Thread Phil Dier
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

[PHP-DEV] __CLASS__ and debug_backtrace()

2002-07-10 Thread 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