svn: /phpdoc/zh/trunk/reference/curl/functions/ curl-setopt.xml
| From: | Dai Jie | Date: | Thu, 12 May 2016 12:05:54 +0000 |
| Subject: | svn: /phpdoc/zh/trunk/reference/curl/functions/ curl-setopt.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-4664@lists.php.net to get a copy of this message | ||
daijie Thu, 12 May 2016 12:05:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339169
Log:
update missing parts
Changed paths:
U phpdoc/zh/trunk/reference/curl/functions/curl-setopt.xml
Modified: phpdoc/zh/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/zh/trunk/reference/curl/functions/curl-setopt.xml 2016-05-12 11:31:46 UTC (rev 339168)
+++ phpdoc/zh/trunk/reference/curl/functions/curl-setopt.xml 2016-05-12 12:05:54 UTC (rev 339169)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 337649 Maintainer: daijie Status: ready -->
+<!-- EN-Revision: 339062 Maintainer: daijie Status: ready -->
<refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>curl_setopt</refname>
@@ -65,9 +65,8 @@
设为 &true; ,将在启用
<constant>CURLOPT_RETURNTRANSFER</constant> 时,返回原生的(Raw)输出。
</entry>
<entry valign="top">
- From PHP 5.1.3, this option has no effect: the raw output will
- always be returned when
- <constant>CURLOPT_RETURNTRANSFER</constant> is used.
+ 从 PHP 5.1.3 开始,此选项不再有效果:使用
+ <constant>CURLOPT_RETURNTRANSFER</constant>
后总是会返回原生的(Raw)内容。
</entry>
</row>
<row>
@@ -802,6 +801,7 @@
Added in cURL 7.10.8.
</entry>
</row>
+
</tbody>
</tgroup>
</informaltable>
@@ -968,7 +968,23 @@
<entry valign="top">
</entry>
</row>
+
<row>
+ <entry
valign="top"><constant>CURLOPT_PRIVATE</constant></entry>
+ <entry valign="top">
+ Any data that should be associated with this cURL handle.
+ This data
+ can subsequently be retrieved with the
+ <constant>CURLINFO_PRIVATE</constant> option of
+ <function>curl_getinfo</function>. cURL does nothing with this data.
+ When using a cURL multi handle, this private data is typically a
+ unique key to identify a standard cURL handle.
+ </entry>
+ <entry valign="top">
+ Added in cURL 7.10.3.
+ </entry>
+ </row>
+ <row>
<entry
valign="top"><constant>CURLOPT_PROXY</constant></entry>
<entry valign="top">
HTTP 代理通道。
@@ -1436,7 +1452,14 @@
<constant>CURLOPT_REDIR_PROTOCOLS</constant>.
</entry>
</row>
+
<row>
+ <entry>5.2.4</entry>
+ <entry>
+ 引入了 <constant>CURLOPT_PRIVATE</constant>。
+ </entry>
+ </row>
+ <row>
<entry>5.1.0</entry>
<entry>
引入 <constant>CURLOPT_AUTOREFERER</constant>,