RE: Identify which function called another

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux