reference/curl/functions/curl-copy-handle.xml
b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>resource</type><methodname>curl_copy_handle</methodname>
13
-
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
12
+
<type class="union"><type>CurlHandle</type><type>false</type></type><methodname>curl_copy_handle</methodname>
13
+
<methodparam><type>CurlHandle</type><parameter>handle</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Copies a cURL handle keeping the same preferences.
...
...
@@ -29,10 +29,34 @@
29
29
<refsect1 role="returnvalues">
30
30
&reftitle.returnvalues;
31
31
<para>
32
-
Returns a new cURL handle.
32
+
Returns a new cURL handle, &return.falseforfailure;.
33
33
</para>
34
34
</refsect1>
35
35

36
+
<refsect1 role="changelog">
37
+
&reftitle.changelog;
38
+
<informaltable>
39
+
<tgroup cols="2">
40
+
<thead>
41
+
<row>
42
+
<entry>&Version;</entry>
43
+
<entry>&Description;</entry>
44
+
</row>
45
+
</thead>
46
+
<tbody>
47
+
&curl.changelog.handle-param;
48
+
<row>
49
+
<entry>8.0.0</entry>
50
+
<entry>
51
+
On success, this function returns a <classname>CurlHandle</classname> instance now;
52
+
previously, a <type>resource</type> was returned.
53
+
</entry>
54
+
</row>
55
+
</tbody>
56
+
</tgroup>
57
+
</informaltable>
58
+
</refsect1>
59
+

36
60
<refsect1 role="examples">
37
61
&reftitle.examples;
38
62
<para>
...
...
@@ -64,7 +88,6 @@ curl_close($ch);
64
88
</para>
65
89
</refsect1>
66
90
</refentry>
67
-

68
91
<!-- Keep this comment at the end of the file
69
92
Local variables:
70
93
mode: sgml
71
94