3 ms·
There are several ways of catching uncaught errors and returning reasonable output to the client. First look into set_error_handler and set_exception_handler.
by bluesnowmonkey 16y ago
There are several ways of catching uncaught errors and returning reasonable output to the client. First look into set_error_handler and set_exception_handler. Also you can register a shutdown function or set an output buffer callback that looks at error_get_last().