CURLOPT_PROTOCOLS_STR
Constant • Added in PHP 8.3
CURLOPT_PROTOCOLS_STR
— Set to a string
with a comma separated list
of case insensitive protocol names (URL schemes) to allow in the transfer.
Set to ALL
to enable all protocols.
By default, cURL accepts all protocols it was built with support for.
Available protocols are:
.
Available as of PHP 8.3.0 and cURL 7.85.0.
CURLOPT_PROTOCOLS_STR = 10318;
Changes to the CURLOPT_PROTOCOLS_STR
Constant
PHP 8.3
- Constant added
CURLOPT_PROTOCOLS_STR
Constant Availability
CURLOPT_PROTOCOLS_STR
Constant AvailabilityPHP Version | Availability |
---|---|
PHP 8.5Future Release | Yes |
PHP 8.4Upcoming Release | Yes |
PHP 8.3Supported (Latest) | Yes |
PHP 8.2Supported | No |
PHP 8.1Security-Fixes Only | No |
PHP 8.0Unsupported | No |
PHP 7.4Unsupported | No |
PHP 7.3Unsupported | No |
PHP 7.2Unsupported | No |
PHP 7.1Unsupported | No |
PHP 7.0Unsupported | No |
PHP 5.6Unsupported | No |
PHP 5.5Unsupported | No |
PHP 5.4Unsupported | No |
PHP 5.3Unsupported | No |