How can I force PHP to render fatal errors as plain text?
<p>On my development machine, I have PHP set to display all errors (i.e., <code>display_errors</code> is set to <code>on</code>). Unfortunately, PHP sends fatal errors as <code>text/html</code>, which makes reading call stacks a bit of a pain as whitespace is ignored in HTML.</p>

<p>Is there a way to have PHP send pages as <code>text/plain</code> for fatal errors?</p>
