Convert all php notices and errors to catchable exceptions. Provide as many uncaught exception handlers as you want.