#538 always log fatal php error using register_shutdown_function