Calling Function Identity
| From: | Ray Hilton | Date: | Wed, 03 Oct 2001 08:22:33 +0000 |
| Subject: | Calling Function Identity | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69732@lists.php.net to get a copy of this message | ||
Is it possible to discover any sort of details about the function/script
that is calling a piece of code? Ie, Passively
If not, does anyone have a good design pattern of how a debugger for php
should work? At the moment I am using a class which formats the data
and dumps it to a log file, then just using a function as a wrapper so
that set_error_handler uses it.
I'm thinking there must be a better way of doing this, anyone have any
ideas?
Ray Hilton