> ** Deprecate the error_prepend_string and error_append_string INI directives > Why is that of questionable use? Why is "this is a development and > debugging feature" considered a valid reason to get rid of something? It > allows prominently displaying issues in development when they would be hidden > behind other HTML otherwise.
I recently made a change to the php_error_cb function for the Error Backtraces v2 RFC (https://wiki.php.net/rfc/error_backtraces_v2), and I recall that working inside that function was quite difficult. The error_prepend_string and error_append_string directives are a tiny part of the complexity there, but nonetheless removing them would maybe start to move us in a direction of greatly simplifying the implementation of php_error_cb, which I would support. I don't have strong feelings here, however.