Posted by PagCal on 06/07/05 16:47
yehaimanish@gmail.com wrote:
> To find out from where the particular function was called, we can use
> debug_backtrace ( ) inside the function. Is there any way to find in
> which the function is. I mean if there are large number of files in the
> project and I want to find out where the function is.
>
>
> ............... code ...............
>
> // where is the location of the function()
>
> function()
>
> ............... code ...............
>
http://us3.php.net/debug_backtrace
and see 'file' array argument returned.
Navigation:
[Reply to this message]
|