Re: [PHP4BETA] Call Stack
| From: | Alfred Perlstein | Date: | Thu, 23 Mar 2000 23:13:15 +0000 |
| Subject: | Re: [PHP4BETA] Call Stack | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-12546@lists.php.net to get a copy of this message | ||
* Brett M. Delia <brettd@sportsmvp.com> [000323 14:37] wrote:
> I have implemented a mechanism to email me when some branch of logic fails
> in our web pages using a combination of PHP and Javascript. The Javascript
> is just used to fire off an email to me. I was wondering if anyone is aware
> of the ability to figure out and display the call stack in PHP. I envision
> using it like this; if a page calls a function that calls a function, and
> the last function call results in one of these emails I would like the
> ability to display which was the originating page, as well as the whole call
> stack.
You can use $PHP_SELF for the originating page, but as far as
traceback I haven't found anything, (I just posted a request for
the same functionality yesterday. :) )
Best of luck,
-Alfred