I've always used debug_backtrace() for this, usually in a function intended
to strip the rest of the noise out. It does seem a little heavy (given that
dbt has a shedload of other data) but I've only found I need it for
debugging.

You might be able to do something with ReflectionFunction, but
debug_backtrace() is probably quicker.

http://nz.php.net/manual/en/language.oop5.reflection.php#language.oop5.reflection.reflectionfunction

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to