Re: Determining Calling Script Information

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

 



Matt Giddings wrote:
Hi,

Is there a way (other than using __LINE__ and __FILE__) to determine which file & line called a function/method? I would like to add some debugging information to a method but I don't want to have to go through to each line that calls it and add the __LINE__ and __FILE__ parameters. Guess I'm looking for a simple solution. Anyway, if there is a way just point me in the right direction and I'll take it from there.

See the help for debug_backtrace()

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for 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