private function getFatalError() { $error = error_get_last(); return null !== $error && (bool) (E_ERROR & $error['type']) ? $error : null; }