Jan 31, 2004 #1 skiflyer Programmer Joined Sep 24, 2002 Messages 2,213 Location US I was wondering, is there a way to determine the current and or calling function?
Jan 31, 2004 Thread starter #2 skiflyer Programmer Joined Sep 24, 2002 Messages 2,213 Location US ok I just found the __FUNCTION__ variable, but what about the calling function? Upvote 0 Downvote
Feb 1, 2004 #3 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US The only way I know of is through the installation of the ADP (Advanced PHP Debugger) extension to PHP: http://pecl.php.net/package/apd It provides, for example, a function apd_callstack() which shows you the current call stack in its entirety. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
The only way I know of is through the installation of the ADP (Advanced PHP Debugger) extension to PHP: http://pecl.php.net/package/apd It provides, for example, a function apd_callstack() which shows you the current call stack in its entirety. Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!