set_exception_handler Sets a user-defined exception handler function Description stringset_exception_handler callbackexception_handler Returns the previously defined exception handler, or &false; on error. &warn.undocumented.func; See also restore_exception_handler, restore_error_handler, and error_reporting.