The following changes have been made to classes/functions/methods of this extension.
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 | 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_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. |