curl_share_errno
Function • Params and return types changed in PHP 8.0
Return the last share curl error number.
curl_share_errno
Function synopsis
curl_share_errno(CurlShareHandle $share_handle): int
Parameters
$share_handle
TypeCurlShareHandle
Return value
Typeint
Returns an integer containing the last share curl error number.
Changes to the curl_share_errno
Function
PHP 8.0
- Return type added:
int
- Parameter name of parameter #1 changed:
$sh
to$share_handle
- Parameter type added for parameter #1 (
$share_handle
):CurlShareHandle
- curl_share_errno($sh)
+ curl_share_errno(CurlShareHandle $share_handle): int
PHP 7.1
- Function added
curl_share_errno
Function Availability
curl_share_errno
Function AvailabilityPHP Version | Availability |
---|---|
PHP 8.5Future Release | Yes |
PHP 8.4Upcoming Release | Yes |
PHP 8.3Supported (Latest) | Yes |
PHP 8.2Supported | Yes |
PHP 8.1Security-Fixes Only | Yes |
PHP 8.0Unsupported | Yes |
PHP 7.4Unsupported | Yes |
PHP 7.3Unsupported | Yes |
PHP 7.2Unsupported | Yes |
PHP 7.1Unsupported | Yes |
PHP 7.0Unsupported | No |
PHP 5.6Unsupported | No |
PHP 5.5Unsupported | No |
PHP 5.4Unsupported | No |
PHP 5.3Unsupported | No |