Re: [PATCH] Repost: html_errors more readable
| From: | Stefan Walk | Date: | Tue, 05 Aug 2003 13:07:45 +0000 |
| Subject: | Re: [PATCH] Repost: html_errors more readable | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3734@lists.php.net to get a copy of this message | ||
On Tue, Aug 05, 2003 at 03:32:54PM +0300, Jani Taskinen wrote:
> Why don't you just use the existing ini options:
>
> ; String to output before an error message.
> ;error_prepend_string = "<font color=ff0000>"
>
> ; String to output after an error message.
> ;error_append_string = "</font>"
>
> ??
>
> --Jani
This patch is not for me, I don't debug in my browser. While helping
others writing PHP, the conversation "What error message?"
"There is none, look for yourself, http://..." was not
rare, because the
error message was hidden somewhere.
Changing the default to display it in a well-formatted way would be
helpful for beginners, in my - and most people i asked about this -
opinion.
When changing append/prepend strings, they get outputted also when
html_errors is off, so putting html in them is not a good thing imo.
(Also, distinct colors are not possible by doing that).
Regards,
Stefan Walk