# mysqli_warning 类

(PHP 5, PHP 7, PHP 8)

## 简介

表示 MySQL 警告。

## 类摘要

final class mysqli_warning {
/* 属性 */
public string $message;
public string $sqlstate;
public int $errno;
/* 方法 */
private function __construct()
public function next(): bool
}

## 属性

message

  消息字符串

sqlstate

  SQL 状态

errno

  错误编号

## 目录

- mysqli_warning::__construct — Private constructor to disallow direct instantiation
- mysqli_warning::next — Fetch next warning

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open