The mysqli_warning class

(PHP 5, PHP 7, PHP 8)

Introduction

Represents a MySQL warning.

Class synopsis

final class mysqli_warning {
/* Properties */
public string $message;
public string $sqlstate;
public int $errno;
/* Methods */
private __construct()
public next(): bool
}

Properties

message

Message string

sqlstate

SQL state

errno

Error number

Table of Contents