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 int $errno;
/* Methods */
private __construct()
public next(): bool
}

Properties

message

Message string

sqlstate

SQL state

errno

Error number

Table of Contents

add a note add a note

User Contributed Notes 1 note

up
0
hlopetz at gmail com
11 years ago
mysqli_warning::__construct() seems protected according reflection:

== Class: mysqli_warning
Could not construct class mysqli_warning
Message: Access to non-public constructor of class mysqli_warning
To Top