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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to