更新日志

对本扩展的类/函数/方法有以下更新。

VersionFunctionDescription
8.1.0mysqli_driver::$report_modeThe default value is now MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT. Previously, it was MYSQLI_REPORT_OFF.
 mysqli_result::fetch_allNow also available when linking against libmysqlclient.
 mysqli_stmt::executeThe optional params parameter has been added.
 mysqli_stmt::next_resultNow also available when linking against libmysqlclient.
 mysqli::$client_info弃用使用 mysql 参数调用 mysqli_get_client_info。此函数从不需要参数,但错误的允许其作为可选参数。
 mysqli::$client_info弃用面向对象风格的 mysqli::get_client_info。
 mysqli::init弃用面向对象风格的 mysqli::init 方法。用 parent::__construct 替换对 parent::init 的调用。
8.0.0mysqli_result::fetch_objectconstructor_args now accepts [] for constructors with 0 parameters; previously an exception was thrown.
 mysqli_stmt::__constructquery is now nullable.
 mysqli::begin_transactionname is now nullable.
 mysqli::commitname 现在允许为 null。
 mysqli::rollbackname 现在可以为 null。
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top