Re: getting a function name of the calling function
| From: | Joshua E Minnie | Date: | Thu, 02 May 2002 20:59:37 +0000 |
| Subject: | Re: getting a function name of the calling function | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-95764@lists.php.net to get a copy of this message | ||
"Cc Zona" <email@cczona.com> wrote:
[snip]
> A step up would be to use the error handling functions instead
> <http://php.net/errorfunc>. Then you can customize which
> errors get
> reported to the user, under what circumstances, how, whether to forward
the
> reports to you as well, plus the opportunity to know the context (set
> variables and their values) in which the error occured.
[snip]
Thank you for the recommendation, I will probably use that as well. And I
have changed that __FUNCTION__ with __LINE__.
-josh