mysqli_ssl_set
Function • Return type changed in PHP 8.2
mysqli_ssl_set Function synopsis
mysqli_ssl_set(
mysqli $mysql,
?string $key,
?string $certificate,
?string $ca_certificate,
?string $ca_path,
?string $cipher_algos
): true
Parameters
$mysql
Typemysqli
$key
Type?string
$certificate
Type?string
$ca_certificate
Type?string
$ca_path
Type?string
$cipher_algos
Type?string
Return value
Typetrue
Changes to the mysqli_ssl_set Function
PHP 8.2
- Return type changed:
booltotrue
mysqli_ssl_set(
mysqli $mysql,
?string $key,
?string $certificate,
?string $ca_certificate,
?string $ca_path,
?string $cipher_algos
- ): bool
+ ): true PHP 8.0
- Return type added:
bool - Parameter name of parameter #1 changed:
$linkto$mysql - Parameter type added for parameter #1 (
$mysql):mysqli - Parameter type added for parameter #2 (
$key):?string - Parameter name of parameter #3 changed:
$certto$certificate - Parameter type added for parameter #3 (
$certificate):?string - Parameter name of parameter #4 changed:
$certificate_authorityto$ca_certificate - Parameter type added for parameter #4 (
$ca_certificate):?string - Parameter name of parameter #5 changed:
$certificate_authority_pathto$ca_path - Parameter type added for parameter #5 (
$ca_path):?string - Parameter name of parameter #6 changed:
$cipherto$cipher_algos - Parameter type added for parameter #6 (
$cipher_algos):?string
mysqli_ssl_set(
- $link,
+ mysqli $mysql,
- $key,
+ ?string $key,
- $cert,
+ ?string $certificate,
- $certificate_authority,
+ ?string $ca_certificate,
- $certificate_authority_path,
+ ?string $ca_path,
- $cipher
+ ?string $cipher_algos
- )
+ ): bool mysqli_ssl_set Function Availability
mysqli_ssl_set Function Availability| PHP Version | Availability |
|---|---|
| PHP 8.6Upcoming Release | Yes |
| PHP 8.5Supported (Latest) | Yes |
| PHP 8.4Supported | Yes |
| PHP 8.3Security-Fixes Only | Yes |
| PHP 8.2Security-Fixes Only | Yes |
| PHP 8.1Unsupported | Yes |
| PHP 8.0Unsupported | Yes |
| PHP 7.4Unsupported | Yes |
| PHP 7.3Unsupported | Yes |
| PHP 7.2Unsupported | Yes |
| PHP 7.1Unsupported | Yes |
| PHP 7.0Unsupported | Yes |
| PHP 5.6Unsupported | Yes |
| PHP 5.5Unsupported | Yes |
| PHP 5.4Unsupported | Yes |
| PHP 5.3Unsupported | Yes |