I wrote this extension a while back, but I never released it since I didn't follow coding style and it was my first forage into extension coding for PHP. It should be what your looking for though for the most part... the function of usefulness is: get_function_call_stack() which will return an array with the call stack for the current function which includes the calling file, funcion and line number. Use a print_r() on the results to get a better idea. Please don't flame me for not releasing or following coding style.
Cheers, Rob. ----------------------------------------------------------------------------- [EMAIL PROTECTED] wrote: > > Addressed to: [EMAIL PROTECTED] > [EMAIL PROTECTED] > > ** Reply to note from [EMAIL PROTECTED] Wed, 24 Apr 2002 21:06:41 +0200 (CEST) > > > > Hello Michael, > > > > I'm working (80% done) on an extension for this. It should be finished in > > a few days. It doesn't feature the __C*__ things yet, but I can add a > > function for that too. > > > > I'll keep you posted, > > <Loud cheer!!!> > > Thanks, I've wished for this for a long time! -- .-----------------. | Robert Cummings | :-----------------`----------------------------. | Webdeployer - Chief PHP and Java Programmer | :----------------------------------------------: | Mail : mailto:[EMAIL PROTECTED] | | Phone : (613) 731-4046 x.109 | :----------------------------------------------: | Website : http://www.webmotion.com | | Fax : (613) 260-9545 | `----------------------------------------------'
ftrace.tar.gz
Description: GNU Zip compressed data
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php