Shawn McKenzie wrote:
Is there any way to determine what function (if any) called a particular function???
Example:
function myFuncA() { myFuncB(); }
function myFuncB() { some stufff....; }
In myFuncB() can I find out that I was called by myFuncA()???
FYI... I am trying to write some code that integrates with other peoples' code and don't want to modify their functions (e.g. what args they call my function with). But in certain cases I need to take certain actions if my function was called by a particular function.
TIA Shawn
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php