Is there a safe way to show an error notification page when the script crashes?
<p>Like one of those "Error 404" pages, I wish to show the visitor an error page with a fat sorry message in the case a script crashes. I use register_shutdown_function() to register a callback function. But the problem is, probably, that headers were already sent. However, maybe you know a good possibility to do that?</p>
