+ exit();
+}
+
+function shutdown_exception_handler_html()
+{
+ $error = error_get_last();
+ if ($error !== null && $error['type'] === E_ERROR) {
+ exception_handler_html(new Exception($error['message'], 500));
+ }
+}
+
+function shutdown_exception_handler_xml()
+{
+ $error = error_get_last();
+ if ($error !== null && $error['type'] === E_ERROR) {
+ exception_handler_xml(new Exception($error['message'], 500));
+ }
+}
+
+function shutdown_exception_handler_json()
+{
+ $error = error_get_last();
+ if ($error !== null && $error['type'] === E_ERROR) {
+ exception_handler_json(new Exception($error['message'], 500));
+ }