Looking at the list of fatal errors Nikita classified as not suitable for converting to exceptions, I'd like to take exception : ) with two of them:
I would love to be able to catch, at toplevel. with an error handler or otherwise, both the memory limits exceeded and time limit exceeded cases. These two safeguards, by themselves, are not instabilities, right? The limits could be set a bit higher and everything would continue normally, right? What I would like to see, is that I can configure an "extra allowance" for both of these limits, in php.ini - if that extra allowance is configured, and the normal limit is reached, generate a recoverable / catchable error and/or exception, and extend the respective limit (once) by the extra allowance. So, in practise, I would allow 2 more seconds, and 10 MB more memory, for use in a global handler that gives nicer error message, backtrace, non-white-http-500-response, or similar reaction. best regards Patrick