reference/curl/functions/curl-version.xml
08a941584f00b659f595dfc6d108a73b2e6849a6
...
...
@@ -9,8 +9,8 @@
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
-
<type>array</type><methodname>curl_version</methodname>
13
-
<methodparam choice="opt"><type>int</type><parameter>age</parameter><initializer>CURLVERSION_NOW</initializer></methodparam>
12
+
<type class="union"><type>array</type><type>false</type></type><methodname>curl_version</methodname>
13
+
<void/>
14
14
</methodsynopsis>
15
15
<para>
16
16
Returns information about the cURL version.
...
...
@@ -19,17 +19,7 @@
19
19

20
20
<refsect1 role="parameters">
21
21
&reftitle.parameters;
22
-
<para>
23
-
<variablelist>
24
-
<varlistentry>
25
-
<term><parameter>age</parameter></term>
26
-
<listitem>
27
-
<para>
28
-
</para>
29
-
</listitem>
30
-
</varlistentry>
31
-
</variablelist>
32
-
</para>
22
+
&no.function.parameters;
33
23
</refsect1>
34
24

35
25
<refsect1 role="returnvalues">
...
...
@@ -40,7 +30,7 @@
40
30
<tgroup cols="2">
41
31
<thead>
42
32
<row>
43
-
<entry>Indice</entry>
33
+
<entry>Key</entry>
44
34
<entry>Value description</entry>
45
35
</row>
46
36
</thead>
...
...
@@ -71,7 +61,7 @@
71
61
</row>
72
62
<row>
73
63
<entry>age</entry>
74
-
<entry></entry>
64
+
<entry/>
75
65
</row>
76
66
<row>
77
67
<entry>features</entry>
...
...
@@ -87,6 +77,35 @@
87
77
</para>
88
78
</refsect1>
89
79

80
+
<refsect1 role="changelog">
81
+
&reftitle.changelog;
82
+
<informaltable>
83
+
<tgroup cols="2">
84
+
<thead>
85
+
<row>
86
+
<entry>&Version;</entry>
87
+
<entry>&Description;</entry>
88
+
</row>
89
+
</thead>
90
+
<tbody>
91
+
<row>
92
+
<entry>8.0.0</entry>
93
+
<entry>
94
+
The optional <parameter>age</parameter> parameter has been removed.
95
+
</entry>
96
+
</row>
97
+
<row>
98
+
<entry>7.4.0</entry>
99
+
<entry>
100
+
The optional <parameter>age</parameter> parameter has been deprecated;
101
+
if a value is passed, it is ignored.
102
+
</entry>
103
+
</row>
104
+
</tbody>
105
+
</tgroup>
106
+
</informaltable>
107
+
</refsect1>
108
+

90
109
<refsect1 role="examples">
91
110
&reftitle.examples;
92
111
<para>
...
...
@@ -125,7 +144,6 @@ foreach($bitfields as $feature)
125
144
</para>
126
145
</refsect1>
127
146
</refentry>
128
-

129
147
<!-- Keep this comment at the end of the file
130
148
Local variables:
131
149
mode: sgml
132
150