RE: [PHP] Identify which function called another

2005-01-12 Thread Michael Sims
Lars B. Jensen wrote: > Is there any way, I from one function can identify which other > function called it, without parameter passing the name manually ? You can get this information from debug_backtrace()... http://www.php.net/manual/en/function.debug-backtrace.php -- PHP General Mailing Lis

[PHP] Identify which function called another

2005-01-12 Thread Lars B. Jensen
Is there any way, I from one function can identify which other function called it, without parameter passing the name manually ? In code, something like where I would like to have function c identify if it was called by function a or b -- Lars B. Jensen, Internet Architect CareerCross Japan