Is there any way to check, at runtime, if a custom PHP error handler has been set?
That is, the PHP function set error handler allows you to set a custom function/callback to handle PHP errors. However, there's no corresponding get_error_handler
function.
Does PHP have any system for checking this at runtime? If there's no official API for doing this, is there any tricky way of determining this via code?