The mysqli_warning class

(PHP 5, PHP 7)

Introduction

Represents a MySQL warning.

Class synopsis

final 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
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