Re: error handling
| From: | John Bradford | Date: | Mon, 18 Nov 2002 10:52:22 +0000 |
| Subject: | Re: error handling | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91245@lists.php.net to get a copy of this message | ||
> I don't like this patch because it doesn't add anything to PHP itself.
> You can easily do this with the error_prepend_string and
> error_append_string configuration settings.
> You were also told that this functionality can be achieved with
> error_prepend_string and error_append_string ini settings, so there
> is no real need for additional functionality.
Ah, right, sorry about that I didn't read the explaination properly
:-). Yes, you're right, it can be done without a patch.
What I'm now thinking, though, is that it might be useful to have all
of the non-fatal error messages buffered, and output in a visible way
at the end. I know you can log to a file, or the system log, but I
can't see a way of buffering all errors until the script ends either
properly, or with a fatal error.
Is this worth working on, or a waste of time? :-)
John.