对本扩展的类/函数/方法有以下更新。
| Version | Function | Description |
|---|---|---|
| 8.1.0 | mysqli_driver::$report_mode | The default value is now MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT. Previously, it was MYSQLI_REPORT_OFF. |
| mysqli_result::fetch_all | Now also available when linking against libmysqlclient. | |
| mysqli_stmt::execute | The optional params parameter has been added. | |
| mysqli_stmt::next_result | Now 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.0 | mysqli_result::fetch_object | constructor_args now accepts [] for constructors with 0 parameters; previously an exception was thrown. |
| mysqli_stmt::__construct | query is now nullable. | |
| mysqli::begin_transaction | name is now nullable. | |
| mysqli::commit | name 现在允许为 null。 | |
| mysqli::rollback | name 现在可以为 null。 |