Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix failing test on nightly
This commit is contained in:
Kamil Tekiela 2023-08-17 18:46:28 +01:00
commit ee82c94208
No known key found for this signature in database
GPG key ID: 0760BDAB1E89A1E3

View file

@ -16,7 +16,7 @@ $mysql = mysqli_init();
mysqli_ssl_set($mysql, 'x509.key', 'x509.pem', 'x509.ca', null, null);
try {
// There should be no warning here, only exception
mysqli_real_connect($mysql, '127.0.0.1:3306', 'username', 'password', null, null, null, MYSQLI_CLIENT_SSL);
mysqli_real_connect($mysql, $host, $user, $passwd, null, $port, null, MYSQLI_CLIENT_SSL);
} catch (mysqli_sql_exception $e) {
echo $e->getMessage()."\n";
}