# Changelog

The following changes have been made to classes/functions/methods of this extension.

Version | Function | Description
--- | --- | ---
8.4.0 | mysqli::kill | Both mysqli::kill and mysqli_kill are now deprecated. Use the KILL SQL command instead.
| mysqli::ping | Both mysqli::ping and mysqli_ping are now deprecated. The reconnect feature has not been available as of PHP 8.2.0, making this function obsolete.
| mysqli::refresh | Both mysqli::refresh and mysqli_refresh are now deprecated. Use FLUSH SQL commands instead.
| mysqli::store_result | Passing the mode parameter is now deprecated. The parameter has had no effect as of PHP 8.1.0.
8.3.0 | mysqli_result::fetch_object | Now throws a ValueError exception when the constructor_args is non-empty with the class not having constructor; previously an Exception was thrown.
| mysqli::poll | Now throws a ValueError exception when neither the read nor error arguments are passed.
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::__construct | mysqli::connect now returns true instead of null on success.
| mysqli::$client_info | Calling mysqli_get_client_info with the mysql argument has been deprecated. This function never required a parameter, but incorrectly allowed it as an optional parameter.
| mysqli::$client_info | The object-oriented style mysqli::get_client_info has been deprecated.
| mysqli::init | The object-oriented style mysqli::init method has been deprecated. Replace calls to parent::init with parent::__construct.
8.0.0 | mysqli_result::fetch_object | constructor_args now accepts [] for constructors with 0 parameters; previously an exception was thrown.
| mysqli_result::field_seek | This function now always returns true. Previously it returned false on failure.
| mysqli_stmt::close | This function now always returns true. Previously it returned false on failure.
| mysqli_stmt::__construct | query is now nullable.
| mysqli::begin_transaction | name is now nullable.
| mysqli::close | This function now always returns true. Previously it returned false on failure.
| mysqli::commit | name is now nullable.
| mysqli::debug | This function now always returns true. Previously it returned false on failure.
| mysqli::rollback | name is now nullable.
7.4.0 | mysqli::__construct | All parameters are now nullable.
| mysqli::real_connect | All parameters are now nullable.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open