PHP 8.3.0 RC 6 available for testing

mysqli_warning 类

(PHP 5, PHP 7, PHP 8)

简介

表示 MySQL 警告。

类摘要

final class mysqli_warning {
/* 属性 */
public string $message;
public string $sqlstate;
public int $errno;
/* 方法 */
private __construct()
public next(): bool
}

属性

message

消息字符串

sqlstate

SQL 状态

errno

错误编号

目录

add a note

User Contributed Notes 1 note

up
0
hlopetz at gmail com
10 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