# mysqli_warning::next

(PHP 5, PHP 7, PHP 8)

mysqli_warning::next — Fetch next warning

### 说明

public mysqli_warning::next(): bool

Change warning information to the next warning if possible.

Once the warning has been set to the next warning, new values of properties `message`, `sqlstate` and `errno` of mysqli_warning are available.

### 参数

此函数没有参数。

### 返回值

Returns `true` if next warning was fetched successfully. If there are no more warnings, it will return `false`

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