RE: [PHP-DEV] html_errors default settings
| From: | John Crenshaw | Date: | Thu, 23 Jun 2011 21:44:34 +0000 |
| Subject: | RE: [PHP-DEV] html_errors default settings | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53565@lists.php.net to get a copy of this message | ||
> I'd like to hear and explanation how production setting of html_errors as 1 is useful.
One that comes to mind is in conjunction with an error trap (output buffer hack to catch fatal
errors and immediately notify an administrator). I could imagine using html_errors specifically
because it would make it easier to parse the error from the output buffer.
Of course, in this case I see no reason why the error trap couldn't set html_errors at the same
time as it sets display_errors and error_prepend_string.
John Crenshaw
Priacta, Inc.