reference/curl/functions/curl-setopt.xml
61374bbe228e8e9c55a24aba59a1e2bb2a871148
...
...
@@ -76,7 +76,7 @@
76
76
<row>
77
77
<entry valign="top"><constant>CURLOPT_CERTINFO</constant></entry>
78
78
<entry valign="top">
79
-
&true; to output SSL certification information to <literal>STDERR</literal>
79
+
&true; to output SSL certification information to <constant>STDERR</constant>
80
80
on secure transfers.
81
81
</entry>
82
82
<entry valign="top">
...
...
@@ -299,7 +299,7 @@
299
299
</entry>
300
300
</row>
301
301
<row>
302
-
<entry valign="top"><constant>CURLOPT_HTTP09_ALLOWED </constant></entry>
302
+
<entry valign="top"><constant>CURLOPT_HTTP09_ALLOWED</constant></entry>
303
303
<entry valign="top">
304
304
Whether to allow HTTP/0.9 responses. Defaults to &false; as of libcurl 7.66.0;
305
305
formerly it defaulted to &true;.
...
...
@@ -564,7 +564,7 @@
564
564
<entry valign="top">
565
565
&true; to use ASCII mode for FTP transfers.
566
566
For LDAP, it retrieves data in plain text instead of HTML. On
567
-
Windows systems, it will not set <literal>STDOUT</literal> to binary
567
+
Windows systems, it will not set <constant>STDOUT</constant> to binary
568
568
mode.
569
569
</entry>
570
570
<entry valign="top">
...
...
@@ -593,7 +593,7 @@
593
593
<entry valign="top"><constant>CURLOPT_VERBOSE</constant></entry>
594
594
<entry valign="top">
595
595
&true; to output verbose information. Writes
596
-
output to <literal>STDERR</literal>, or the file specified using
596
+
output to <constant>STDERR</constant>, or the file specified using
597
597
<constant>CURLOPT_STDERR</constant>.
598
598
</entry>
599
599
<entry valign="top">
...
...
@@ -661,7 +661,7 @@
661
661
<row>
662
662
<entry valign="top"><constant>CURLOPT_EXPECT_100_TIMEOUT_MS</constant></entry>
663
663
<entry valign="top">
664
-
The timeout for Expect: 100-continue responses in milliseconds.
664
+
The timeout for <literal>Expect: 100-continue</literal> responses in milliseconds.
665
665
Defaults to 1000 milliseconds.
666
666
</entry>
667
667
<entry valign="top">
...
...
@@ -684,9 +684,9 @@
684
684
<entry valign="top"><constant>CURLOPT_FTPSSLAUTH</constant></entry>
685
685
<entry valign="top">
686
686
The FTP authentication method (when is activated):
687
-
<literal>CURLFTPAUTH_SSL</literal> (try SSL first),
688
-
<literal>CURLFTPAUTH_TLS</literal> (try TLS first), or
689
-
<literal>CURLFTPAUTH_DEFAULT</literal> (let cURL decide).
687
+
<constant>CURLFTPAUTH_SSL</constant> (try SSL first),
688
+
<constant>CURLFTPAUTH_TLS</constant> (try TLS first), or
689
+
<constant>CURLFTPAUTH_DEFAULT</constant> (let cURL decide).
690
690
</entry>
691
691
<entry valign="top">
692
692
Added in cURL 7.12.2.
...
...
@@ -730,7 +730,7 @@
730
730
<constant>CURL_HTTP_VERSION_1_0</constant> (forces HTTP/1.0),
731
731
<constant>CURL_HTTP_VERSION_1_1</constant> (forces HTTP/1.1),
732
732
<constant>CURL_HTTP_VERSION_2_0</constant> (attempts HTTP 2),
733
-
<constant>CURL_HTTP_VERSION_2 </constant> (alias of <constant>CURL_HTTP_VERSION_2_0</constant>),
733
+
<constant>CURL_HTTP_VERSION_2</constant> (alias of <constant>CURL_HTTP_VERSION_2_0</constant>),
734
734
<constant>CURL_HTTP_VERSION_2TLS</constant> (attempts HTTP 2 over TLS (HTTPS) only) or
735
735
<constant>CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE</constant> (issues non-TLS HTTP requests using HTTP/2 without HTTP/1.1 Upgrade).
736
736
</entry>
...
...
@@ -746,6 +746,7 @@
746
746
<constant>CURLAUTH_DIGEST</constant>,
747
747
<constant>CURLAUTH_GSSNEGOTIATE</constant>,
748
748
<constant>CURLAUTH_NTLM</constant>,
749
+
<constant>CURLAUTH_AWS_SIGV4</constant>,
749
750
<constant>CURLAUTH_ANY</constant>, and
750
751
<constant>CURLAUTH_ANYSAFE</constant>.
751
752
</para>
...
...
@@ -755,12 +756,12 @@
755
756
what methods it supports and pick the best one.
756
757
</para>
757
758
<para>
758
-
<constant>CURLAUTH_ANY</constant> is an alias for
759
-
<literal>CURLAUTH_BASIC | CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM</literal>.
759
+
<constant>CURLAUTH_ANY</constant> sets all bits. cURL will automatically select
760
+
the one it finds most secure.
760
761
</para>
761
762
<para>
762
-
<constant>CURLAUTH_ANYSAFE</constant> is an alias for
763
-
<literal>CURLAUTH_DIGEST | CURLAUTH_GSSNEGOTIATE | CURLAUTH_NTLM</literal>.
763
+
<constant>CURLAUTH_ANYSAFE</constant> sets all bits except <constant>CURLAUTH_BASIC</constant>.
764
+
cURL will automatically select the one it finds most secure.
764
765
</para>
765
766
</entry>
766
767
<entry valign="top">
...
...
@@ -798,6 +799,51 @@
798
799
</entry>
799
800
</row>
800
801
<row>
802
+
<entry valign="top"><constant>CURLOPT_MAIL_RCPT_ALLLOWFAILS</constant></entry>
803
+
<entry valign="top">
804
+
Allow RCPT TO command to fail for some recipients.
805
+
</entry>
806
+
<entry valign="top">
807
+
When sending data to multiple recipients, by default cURL will abort SMTP conversation if at least one of
808
+
the recipients causes RCPT TO command to return an error. This option tells cURL to ignore errors and
809
+
proceed with the remaining valid recipients. If all recipients trigger RCPT TO failures and this flag is
810
+
set, cURL will abort the SMTP conversation and return the error received from the last RCPT TO command.
811
+
</entry>
812
+
<entry valign="top">
813
+
</entry>
814
+
</row>
815
+
<row>
816
+
<entry valign="top"><constant>CURLOPT_MAXAGE_CONN</constant></entry>
817
+
<entry valign="top">
818
+
The maximum idle time allowed for an existing connection to be considered for reuse.
819
+
Default maximum age is set to <literal>118</literal> seconds.
820
+
</entry>
821
+
<entry valign="top">
822
+
</entry>
823
+
</row>
824
+
<row>
825
+
<entry valign="top"><constant>CURLOPT_MAXFILESIZE_LARGE</constant></entry>
826
+
<entry valign="top">
827
+
The maximum file size in bytes allowed to download. If the file requested is found larger than this value,
828
+
the transfer will not start and <constant>CURLE_FILESIZE_EXCEEDED</constant> will be returned.
829
+
The file size is not always known prior to download, and for such files this option has no effect even if
830
+
the file transfer ends up being larger than this given limit.
831
+
</entry>
832
+
<entry valign="top">
833
+
</entry>
834
+
</row>
835
+
<row>
836
+
<entry valign="top"><constant>CURLOPT_MAXLIFETIME_CONN</constant></entry>
837
+
<entry valign="top">
838
+
The maximum time in seconds, since the creation of the connection, that is allowed for an existing
839
+
connection to have for it to be considered for reuse. If a connection is found in the cache that is older
840
+
than this value, it will instead be closed once any in-progress transfers are complete.
841
+
Default is 0 seconds, meaning the option is disabled and all connections are eligible for reuse.
842
+
</entry>
843
+
<entry valign="top">
844
+
</entry>
845
+
</row>
846
+
<row>
801
847
<entry valign="top"><constant>CURLOPT_MAXCONNECTS</constant></entry>
802
848
<entry valign="top">
803
849
The maximum amount of persistent connections that are allowed.
...
...
@@ -864,6 +910,7 @@
864
910
<constant>CURLPROTO_DICT</constant>,
865
911
<constant>CURLPROTO_FILE</constant>,
866
912
<constant>CURLPROTO_TFTP</constant>,
913
+
<constant>CURLPROTO_MQTT</constant>,
867
914
<constant>CURLPROTO_ALL</constant>
868
915
</para>
869
916
</entry>
...
...
@@ -975,6 +1022,29 @@
975
1022
revocation checks for those SSL backends where such behavior is
976
1023
present.
977
1024
</simpara>
1025
+
<simpara>
1026
+
<constant>CURLSSLOPT_AUTO_CLIENT_CERT</constant>: automatically
1027
+
locate and use a client certificate for authentication, when
1028
+
requested by the server. This option is only supported for
1029
+
Schannel (the native Windows SSL library).
1030
+
</simpara>
1031
+
<simpara>
1032
+
<constant>CURLSSLOPT_NATIVE_CA</constant>: use the operating system's
1033
+
native CA store for certificate verification. Works only on Windows
1034
+
when built to use OpenSSL. This option is experimental and behavior is subject to change.
1035
+
</simpara>
1036
+
<simpara>
1037
+
<constant>CURLSSLOPT_NO_PARTIALCHAIN</constant>: do not accept "partial" certificate
1038
+
chains, which cURL otherwise does by default. This option is only supported for OpenSSL
1039
+
and will fail the certificate verification if the chain ends with
1040
+
an intermediate certificate and not with a root certificate.
1041
+
</simpara>
1042
+
<simpara>
1043
+
<constant>CURLSSLOPT_REVOKE_BEST_EFFORT</constant>: ignore certificate revocation checks
1044
+
in case of missing or offline distribution points for those SSL backends where
1045
+
such behavior is present. This option is only supported for Schannel (the native Windows SSL library).
1046
+
If combined with <constant>CURLSSLOPT_NO_REVOKE</constant>, the latter takes precedence.
1047
+
</simpara>
978
1048
</entry>
979
1049
<entry valign="top">
980
1050
Added in cURL 7.25.0. Available since PHP 7.0.7.
...
...
@@ -1002,8 +1072,9 @@
1002
1072
<constant>CURL_SSLVERSION_SSLv2</constant> (2),
1003
1073
<constant>CURL_SSLVERSION_SSLv3</constant> (3),
1004
1074
<constant>CURL_SSLVERSION_TLSv1_0</constant> (4),
1005
-
<constant>CURL_SSLVERSION_TLSv1_1</constant> (5) or
1006
-
<constant>CURL_SSLVERSION_TLSv1_2</constant> (6).
1075
+
<constant>CURL_SSLVERSION_TLSv1_1</constant> (5),
1076
+
<constant>CURL_SSLVERSION_TLSv1_2</constant> (6) or
1077
+
<constant>CURL_SSLVERSION_TLSv1_3</constant> (7).
1007
1078
The maximum TLS version can be set by using one of the <constant>CURL_SSLVERSION_MAX_*</constant>
1008
1079
constants. It is also possible to OR one of the <constant>CURL_SSLVERSION_*</constant>
1009
1080
constants with one of the <constant>CURL_SSLVERSION_MAX_*</constant> constants.
...
...
@@ -1195,6 +1266,28 @@
1195
1266
</entry>
1196
1267
</row>
1197
1268
<row>
1269
+
<entry valign="top"><constant>CURLOPT_UPKEEP_INTERVAL_MS</constant></entry>
1270
+
<entry valign="top">
1271
+
Some protocols have "connection upkeep" mechanisms. These mechanisms usually send some traffic
1272
+
on existing connections in order to keep them alive. This option defines the connection upkeep interval.
1273
+
Currently, the only protocol with a connection upkeep mechanism is HTTP/2. When the connection upkeep
1274
+
interval is exceeded, an HTTP/2 PING frame is sent on the connection.
1275
+
Default is <literal>60</literal> seconds.
1276
+
</entry>
1277
+
<entry valign="top">
1278
+
</entry>
1279
+
</row>
1280
+
<row>
1281
+
<entry valign="top"><constant>CURLOPT_UPLOAD_BUFFERSIZE</constant></entry>
1282
+
<entry valign="top">
1283
+
Preferred buffer size in bytes for the cURL upload buffer.
1284
+
The upload buffer size by default is 64 kilobytes. The maximum buffer size allowed to be set is 2 megabytes.
1285
+
The minimum buffer size allowed to be set is 16 kilobytes.
1286
+
</entry>
1287
+
<entry valign="top">
1288
+
</entry>
1289
+
</row>
1290
+
<row>
1198
1291
<entry valign="top"><constant>CURLOPT_MAX_RECV_SPEED_LARGE</constant></entry>
1199
1292
<entry valign="top">
1200
1293
If a download exceeds this speed (counted in bytes per second) on
...
...
@@ -1251,8 +1344,9 @@
1251
1344
<entry valign="top"><constant>CURLOPT_FTP_FILEMETHOD</constant></entry>
1252
1345
<entry valign="top">
1253
1346
Tell curl which method to use to reach a file on a FTP(S) server. Possible values are
1347
+
<constant>CURLFTPMETHOD_DEFAULT</constant>,
1254
1348
<constant>CURLFTPMETHOD_MULTICWD</constant>,
1255
-
<constant>CURLFTPMETHOD_NOCWD</constant> and
1349
+
<constant>CURLFTPMETHOD_NOCWD</constant>, and
1256
1350
<constant>CURLFTPMETHOD_SINGLECWD</constant>.
1257
1351
</entry>
1258
1352
<entry valign="top">
...
...
@@ -1291,6 +1385,45 @@
1291
1385
</entry>
1292
1386
</row>
1293
1387
<row>
1388
+
<entry valign="top"><constant>CURLOPT_ALTSVC</constant></entry>
1389
+
<entry valign="top">
1390
+
Pass the filename for cURL to use as the Alt-Svc cache file to read existing cache contents from and
1391
+
possibly also write it back to a after a transfer, unless <constant>CURLALTSVC_READONLYFILE</constant>
1392
+
is set via <constant>CURLOPT_ALTSVC_CTRL</constant>.
1393
+
</entry>
1394
+
<entry valign="top">
1395
+
</entry>
1396
+
</row>
1397
+
<row>
1398
+
<entry valign="top"><constant>CURLOPT_ALTSVC_CTRL</constant></entry>
1399
+
<entry valign="top">
1400
+
Populate the bitmask with the correct set of features to instruct cURL how to handle Alt-Svc for the
1401
+
transfers using this handle. cURL only accepts Alt-Svc headers over HTTPS. It will also only complete
1402
+
a request to an alternative origin if that origin is properly hosted over HTTPS.
1403
+
Setting any bit will enable the alt-svc engine. The options are:
1404
+
<constant>CURLALTSVC_H1</constant>,
1405
+
<constant>CURLALTSVC_H2</constant>,
1406
+
<constant>CURLALTSVC_H3</constant>, and
1407
+
<constant>CURLALTSVC_READONLYFILE</constant>.
1408
+
</entry>
1409
+
<entry valign="top">
1410
+
</entry>
1411
+
</row>
1412
+
<row>
1413
+
<entry valign="top"><constant>CURLOPT_AWS_SIGV4</constant></entry>
1414
+
<entry valign="top">
1415
+
<para>
1416
+
Provides AWS V4 signature authentication on HTTP(S) header.
1417
+
</para>
1418
+
<para>
1419
+
This option overrides any other authentication types that have been set in
1420
+
<constant>CURLOPT_HTTPAUTH</constant>. This method cannot be combined with other authentication types.
1421
+
</para>
1422
+
</entry>
1423
+
<entry valign="top">
1424
+
</entry>
1425
+
</row>
1426
+
<row>
1294
1427
<entry valign="top"><constant>CURLOPT_CAINFO</constant></entry>
1295
1428
<entry valign="top">
1296
1429
The name of a file holding one or more certificates to verify the
...
...
@@ -1302,6 +1435,16 @@
1302
1435
</entry>
1303
1436
</row>
1304
1437
<row>
1438
+
<entry valign="top"><constant>CURLOPT_CAINFO_BLOB</constant></entry>
1439
+
<entry valign="top">
1440
+
The name of a PEM file holding one or more certificates to verify the
1441
+
peer with. This option overrides <constant>CURLOPT_CAINFO</constant>.
1442
+
</entry>
1443
+
<entry valign="top">
1444
+
Available as of PHP 8.2.0 and cURL 7.77.0
1445
+
</entry>
1446
+
</row>
1447
+
<row>
1305
1448
<entry valign="top"><constant>CURLOPT_CAPATH</constant></entry>
1306
1449
<entry valign="top">
1307
1450
A directory that holds multiple CA certificates. Use this option
...
...
@@ -1453,6 +1596,29 @@
1453
1596
</entry>
1454
1597
</row>
1455
1598
<row>
1599
+
<entry valign="top"><constant>CURLOPT_HSTS</constant></entry>
1600
+
<entry valign="top">
1601
+
<para>
1602
+
HSTS (HTTP Strict Transport Security) cache file name.
1603
+
</para>
1604
+
</entry>
1605
+
<entry valign="top">
1606
+
</entry>
1607
+
</row>
1608
+
<row>
1609
+
<entry valign="top"><constant>CURLOPT_HSTS_CTRL</constant></entry>
1610
+
<entry valign="top">
1611
+
<para>
1612
+
Controls HSTS (HTTP Strict Transport Security) behavior. Populate the bitmask with the correct set of
1613
+
features to instruct cURL how to handle HSTS for the transfers using this handle.
1614
+
<constant>CURLHSTS_ENABLE</constant> enables the in-memory HSTS cache. If the HSTS cache file is defined,
1615
+
set <constant>CURLHSTS_READONLYFILE</constant> to make the file read-only.
1616
+
</para>
1617
+
</entry>
1618
+
<entry valign="top">
1619
+
</entry>
1620
+
</row>
1621
+
<row>
1456
1622
<entry valign="top"><constant>CURLOPT_INTERFACE</constant></entry>
1457
1623
<entry valign="top">
1458
1624
The name of the outgoing network interface to use. This can be an
...
...
@@ -1600,6 +1766,18 @@
1600
1766
</entry>
1601
1767
</row>
1602
1768
<row>
1769
+
<entry valign="top"><constant>CURLOPT_PROXY_CAINFO_BLOB</constant></entry>
1770
+
<entry valign="top">
1771
+
The name of a PEM file holding one or more certificates to verify the HTTPS proxy with.
1772
+
This option is for connecting to an HTTPS proxy, not an HTTPS server.
1773
+
Defaults set to the system path where libcurl's cacert bundle is assumed
1774
+
to be stored.
1775
+
</entry>
1776
+
<entry valign="top">
1777
+
Available as of PHP 8.2.0 and libcurl &gt;= cURL 7.77.0.
1778
+
</entry>
1779
+
</row>
1780
+
<row>
1603
1781
<entry valign="top"><constant>CURLOPT_PROXY_CAPATH</constant></entry>
1604
1782
<entry valign="top">
1605
1783
The directory holding multiple CA certificates to verify the HTTPS proxy with.
...
...
@@ -1796,6 +1974,17 @@
1796
1974
</entry>
1797
1975
</row>
1798
1976
<row>
1977
+
<entry valign="top"><constant>CURLOPT_SASL_AUTHZID</constant></entry>
1978
+
<entry valign="top">
1979
+
The authorization identity (authzid) for the transfer. Only applicable to the PLAIN SASL
1980
+
authentication mechanism where it is optional. When not specified, only the authentication identity
1981
+
(authcid) as specified by the username will be sent to the server, along with the password.
1982
+
The server will derive the authzid from the authcid when not provided, which it will then use internally.
1983
+
</entry>
1984
+
<entry valign="top">
1985
+
</entry>
1986
+
</row>
1987
+
<row>
1799
1988
<entry valign="top"><constant>CURLOPT_SERVICE_NAME</constant></entry>
1800
1989
<entry valign="top">
1801
1990
The authentication service name.
...
...
@@ -1817,6 +2006,15 @@
1817
2006
</entry>
1818
2007
</row>
1819
2008
<row>
2009
+
<entry valign="top"><constant>CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256</constant></entry>
2010
+
<entry valign="top">
2011
+
Base64-encoded SHA256 hash of the remote host's public key.
2012
+
The transfer will fail if the given hash does not match the hash the remote host provides.
2013
+
</entry>
2014
+
<entry valign="top">
2015
+
</entry>
2016
+
</row>
2017
+
<row>
1820
2018
<entry valign="top"><constant>CURLOPT_SSH_PUBLIC_KEYFILE</constant></entry>
1821
2019
<entry valign="top">
1822
2020
The file name for your public key. If not used, libcurl defaults to
...
...
@@ -1851,6 +2049,17 @@
1851
2049
</entry>
1852
2050
</row>
1853
2051
<row>
2052
+
<entry valign="top"><constant>CURLOPT_SSL_EC_CURVES</constant></entry>
2053
+
<entry valign="top">
2054
+
A colon delimited list of elliptic curve algorithms. For example,
2055
+
<literal>X25519:P-521</literal> is a valid list of two elliptic curves.
2056
+
This option defines the client's key exchange algorithms in the SSL handshake,
2057
+
if the SSL backend cURL is built to use supports it.
2058
+
</entry>
2059
+
<entry valign="top">
2060
+
</entry>
2061
+
</row>
2062
+
<row>
1854
2063
<entry valign="top"><constant>CURLOPT_SSLCERT</constant></entry>
1855
2064
<entry valign="top">
1856
2065
The name of a file containing a PEM formatted certificate.
...
...
@@ -2121,7 +2330,7 @@
2121
2330
<entry valign="top"><constant>CURLOPT_FILE</constant></entry>
2122
2331
<entry valign="top">
2123
2332
The file that the transfer should be written to. The default
2124
-
is <literal>STDOUT</literal> (the browser window).
2333
+
is <constant>STDOUT</constant> (the browser window).
2125
2334
</entry>
2126
2335
</row>
2127
2336
<row>
...
...
@@ -2134,7 +2343,7 @@
2134
2343
<entry valign="top"><constant>CURLOPT_STDERR</constant></entry>
2135
2344
<entry valign="top">
2136
2345
An alternative location to output errors to instead of
2137
-
<literal>STDERR</literal>.
2346
+
<constant>STDERR</constant>.
2138
2347
</entry>
2139
2348
</row>
2140
2349
<row>
...
...
@@ -2156,6 +2365,7 @@
2156
2365
<row>
2157
2366
<entry>Option</entry>
2158
2367
<entry>Set <parameter>value</parameter> to</entry>
2368
+
<entry>Notes</entry>
2159
2369
</row>
2160
2370
</thead>
2161
2371
<tbody>
...
...
@@ -2168,6 +2378,7 @@
2168
2378
be written by this callback. Return the number of
2169
2379
bytes written.
2170
2380
</entry>
2381
+
<entry></entry>
2171
2382
</row>
2172
2383
<row>
2173
2384
<entry valign="top"><constant>CURLOPT_PASSWDFUNCTION</constant></entry>
...
...
@@ -2177,6 +2388,7 @@
2177
2388
string containing a password prompt, and the third is the maximum
2178
2389
password length. Return the string containing the password.
2179
2390
</entry>
2391
+
<entry>Removed as of PHP 7.3.0.</entry>
2180
2392
</row>
2181
2393
<row>
2182
2394
<entry valign="top"><constant>CURLOPT_PROGRESSFUNCTION</constant></entry>
...
...
@@ -2201,6 +2413,7 @@
2201
2413
error.
2202
2414
</para>
2203
2415
</entry>
2416
+
<entry></entry>
2204
2417
</row>
2205
2418
<row>
2206
2419
<entry valign="top"><constant>CURLOPT_READFUNCTION</constant></entry>
...
...
@@ -2214,6 +2427,7 @@
2214
2427
typically by reading it from the passed stream resource. It should
2215
2428
return an empty string to signal <literal>EOF</literal>.
2216
2429
</entry>
2430
+
<entry></entry>
2217
2431
</row>
2218
2432
<row>
2219
2433
<entry valign="top"><constant>CURLOPT_WRITEFUNCTION</constant></entry>
...
...
@@ -2224,6 +2438,18 @@
2224
2438
this callback. It must return the exact number of bytes written
2225
2439
or the transfer will be aborted with an error.
2226
2440
</entry>
2441
+
<entry></entry>
2442
+
</row>
2443
+
<row>
2444
+
<entry valign="top"><constant>CURLOPT_XFERINFOFUNCTION</constant></entry>
2445
+
<entry valign="top">
2446
+
A callback accepting two parameters.
2447
+
Has a similar purpose as <constant>CURLOPT_PROGRESSFUNCTION</constant> but is more modern
2448
+
and the preferred option from cURL.
2449
+
</entry>
2450
+
<entry valign="top">
2451
+
Added in 7.32.0. Available as of PHP 8.2.0.
2452
+
</entry>
2227
2453
</row>
2228
2454
</tbody>
2229
2455
</tgroup>
...
...
@@ -2280,7 +2506,7 @@
2280
2506
<row>
2281
2507
<entry>7.3.15, 7.4.3</entry>
2282
2508
<entry>
2283
-
Introduced <constant>CURLOPT_HTTP09_ALLOWED </constant>.
2509
+
Introduced <constant>CURLOPT_HTTP09_ALLOWED</constant>.
2284
2510
</entry>
2285
2511
</row>
2286
2512
<row>
2287
2513