编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « mysqli_warning::next
  • 别名和过时的 Mysqli 函数 »
  • PHP Manual
  • Mysqli
  • mysqli异常类

mysqli异常类

(PHP 5, PHP 7)

简介

mysqli异常类

类摘要

mysqli_sql_exception extends RuntimeException {
/* 属性 */
protected string $sqlstate ;
/* 继承的属性 */
protected string $message ;
protected int $code ;
protected string $file ;
protected int $line ;
}

属性

sqlstate

出现错误的sql状态

相关文章
php 预定义异常 exceptionphp 异常 the lengthexception classphp mysqli mysqli异常类php 异常 the rangeexception classphp 别名和过时的 mysqli 函数 在主从服务器结构中,禁用从主机读取数据php 别名和过时的 mysqli 函数 禁用rpl解析php 别名和过时的 mysqli 函数 mysqli stmt send long data 的别名php 别名和过时的 mysqli 函数 mysqli options 的别名php mysqli result get the number of fields in a resultphp mysqli result set result pointer to a specified field offsetphp mysqli stmt executes a prepared queryphp mysqli stmt fetch results from a prepared statement into the bound variablesphp mysqli stmt transfers a result set from a prepared statementphp mysqli warning the construct purposephp mysqli 将调试信息输出到日志php mysqli 返回最近函数调用的错误代码php mysqli 返回最后一条插入语句产生的自增 idphp mysqli 返回 rpl 查询类型php mysqli initiate a result set retrievalphp yaf dispatcher 开启/关闭自动异常捕获功能
关注编程学问公众号
编程学问网 湘ICP备20001732号