MySQLi_Warning类
(PHP 5, PHP 7, PHP 8)
简介
表示一个 MySQL 警告。
类摘要
class mysqli_warning
{
/* 属性 */
public
$message;
public
$sqlstate;
public
$errno;
/* 方法 */
public next(): bool
}
属性
message
消息字符串
sqlstateSQL状态
errno错误编号
目录mysqli_warning::__construct — Private constructor to disallow direct instantiationmysqli_warning::next — Fetch next warningUser Contributed Notes 1 note
up down 0 hlopetz at gmail com ¶9 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
add a note
官方地址:https://www.php.net/manual/en/class.mysqli-warning.php