PHP 7.4.22 Released!

The mysqli_warning class

(PHP 5, PHP 7, PHP 8)

Introduction

Represents a MySQL warning.

Class synopsis

final class mysqli_warning {
/* Properties */
public $message;
public $sqlstate;
public $errno;
/* Methods */
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
8 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