Re: Re: Question about C++ like macros on PHP
| From: | Richard Lynch | Date: | Tue, 31 Jan 2006 21:35:12 +0000 |
| Subject: | Re: Re: Question about C++ like macros on PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229583@lists.php.net to get a copy of this message | ||
On Tue, January 31, 2006 6:40 am, Andrei wrote:
> Well I know, I wanted to know if any1 did find a workaround...
To be more clear, since obviously several other posters aren't aware
of it...
http://php.net/set_error_handler allows you to write
a function to be
called when an error occurs and that function accepts optional
arguments of $file and $line which PHP will fill with the __FILE__ and
__LINE__ values of the offending code.
Which is precisely what you need.
--
Like Music?
http://l-i-e.com/artists.htm