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
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
2 matches
Mail list logo