On Dec 20, 2007 9:47 AM, Christoph Boget <jcboget@xxxxxxxxx> wrote: [snip!] > I need it primarily for debugging purposes. I've got a single function > that's called by several files. And instead of modifying all the files > calling the function to add logging, it would be nice to just modify the > function, adding logging only to it to also include what script called it. > > > I know I can get the information from debug_backtrace but I figured there > might be a better/easier way. You probably want http://www.xdebug.org/. -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php