Re: [PHP] Determining Calling Script Information

2009-08-13 Thread Matt Giddings
Thanks for the pointers! Matt Robert Cummings wrote: 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

Re: [PHP] Determining Calling Script Information

2009-08-13 Thread Robert Cummings
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 __FI

Re: [PHP] Determining Calling Script Information

2009-08-13 Thread Andrew Ballard
On Thu, Aug 13, 2009 at 10:48 AM, 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 > tha

[PHP] Determining Calling Script Information

2009-08-13 Thread Matt Giddings
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. Gue