mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Add missing constants
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335082 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
dac4478916
commit
958cde3f4b
2 changed files with 86 additions and 5 deletions
|
@ -628,6 +628,83 @@
|
|||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-default">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_DEFAULT</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-tlsv1">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_TLSv1</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-sslv2">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_SSLv2</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-sslv3">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_SSLv3</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-tlsv1-0">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_TLSv1_0</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Available since PHP 5.5.19 and 5.6.3
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-tlsv1-1">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_TLSv1_1</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Available since PHP 5.5.19 and 5.6.3
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-sslversion-tlsv1-2">
|
||||
<term>
|
||||
<constant>CURL_SSLVERSION_TLSv1_2</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
Available since PHP 5.5.19 and 5.6.3
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry xml:id="constant.curlopt-timecondition">
|
||||
<term>
|
||||
<constant>CURLOPT_TIMECONDITION</constant>
|
||||
|
@ -635,7 +712,7 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
|
||||
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -725,12 +725,16 @@
|
|||
<entry valign="top">
|
||||
One of <constant>CURL_SSLVERSION_DEFAULT</constant> (0),
|
||||
<constant>CURL_SSLVERSION_TLSv1</constant> (1),
|
||||
<constant>CURL_SSLVERSION_SSLv2</constant> (2) or
|
||||
<constant>CURL_SSLVERSION_SSLv3</constant> (3).
|
||||
<constant>CURL_SSLVERSION_SSLv2</constant> (2),
|
||||
<constant>CURL_SSLVERSION_SSLv3</constant> (3),
|
||||
<constant>CURL_SSLVERSION_TLSv1_0</constant> (4),
|
||||
<constant>CURL_SSLVERSION_TLSv1_1</constant> (5) or
|
||||
<constant>CURL_SSLVERSION_TLSv1_2</constant> (6).
|
||||
<note>
|
||||
<para>
|
||||
Setting this to anything other than 0 or 1 is dangerous given
|
||||
the known vulnerabilities in SSLv2 and SSLv3.
|
||||
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.
|
||||
</para>
|
||||
</note>
|
||||
</entry>
|
||||
|
|
Loading…
Reference in a new issue