Re: get name of function within function
- From: "Rik Wasmus" <luiheidsgoeroe@xxxxxxxxxxx>
- Date: Thu, 17 Apr 2008 18:19:10 +0200
On Thu, 17 Apr 2008 18:03:51 +0200, ZeldorBlat <zeldorblat@xxxxxxxxx> wrote:
On Apr 17, 11:56 am, lawp...@xxxxxxxxx wrote:Is there a way to find out the name of the function within the
function?
I'm doing troubleshooting of a page in which I call a lot of
functions. I had a simple error message pop up, which was okay back
when the page way simple. Now that the page has grown, it's a PITA to
find out where exactly the error message is being triggered. It would
be very helpful if I could find out which function I'm "in" when the
error message gets called.
<http://www.php.net/manual/en/language.constants.predefined.php>
Or alternatively, do a debug_print_backtrace();, very nice when troubleshooting.
--
Rik Wasmus
.
- Follow-Ups:
- Re: get name of function within function
- From: Peter H. Coffin
- Re: get name of function within function
- References:
- get name of function within function
- From: lawpoop
- Re: get name of function within function
- From: ZeldorBlat
- get name of function within function
- Prev by Date: Re: Running PHP scripts from browser without a webserver on MS
- Next by Date: Re: General performance question
- Previous by thread: Re: get name of function within function
- Next by thread: Re: get name of function within function
- Index(es):
Relevant Pages
|
Loading