MySQLi_Warning类

(PHP 5, PHP 7, PHP 8)

简介

表示一个 MySQL 警告。

类摘要

mysqli_warning {
/* 属性 */
public $message ;
public $sqlstate ;
public $errno ;
/* 方法 */
public next ( ) : bool
}

属性

message

消息字符串

sqlstate

SQL状态

errno

错误编号

Table of Contents

User Contributed Notes

hlopetz at gmail com 04-Feb-2013 12:51
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