Note:
Your best bet is to not set this and let it use the default. Setting it to 2 or 3 is very dangerous given the known vulnerabilities in SSLv2 and SSLv3.
Fixes #
Bad default value
Proposed Changes
Change the default value of curl's SSL_VERSION from 3 to 0
Hi, according to the official PHP documentation using CURLOPT_SSLVERSION with values of 2 or 3 is discouraged. (http://php.net/manual/en/function.curl-setopt.php)
Fixes # Bad default value
Proposed Changes