From 6ccd21b325c8c3937fa8fbe2079921a3a89ddb16 Mon Sep 17 00:00:00 2001 From: Sjoerd Langkemper Date: Tue, 14 Jul 2026 12:07:26 +0200 Subject: [PATCH 1/3] Document more curl deprecations I compiled against cURL 8.18 with enabled deprecation warnings, and documented the results. --- reference/curl/constants_curl_getinfo.xml | 14 +++++++------- reference/curl/constants_curl_setopt.xml | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/reference/curl/constants_curl_getinfo.xml b/reference/curl/constants_curl_getinfo.xml index c2295e288ee8..60f64e29c9f7 100644 --- a/reference/curl/constants_curl_getinfo.xml +++ b/reference/curl/constants_curl_getinfo.xml @@ -112,7 +112,7 @@ - Content length of download, read from Content-Length: field + Content length of download, read from Content-Length: field. Deprecated since cURL 7.55.0. Use CURLINFO_CONTENT_LENGTH_DOWNLOAD_T instead. @@ -135,7 +135,7 @@ - Specified size of upload + Specified size of upload. Deprecated since cURL 7.55.0. Use CURLINFO_CONTENT_LENGTH_UPLOAD_T instead. @@ -453,7 +453,7 @@ The protocol used in the last HTTP connection. The returned value will be exactly one of the CURLPROTO_* values. - Available as of PHP 7.3.0 and cURL 7.52.0 + Available as of PHP 7.3.0 and cURL 7.52.0. Deprecated since cURL 7.85.0. Use CURLINFO_SCHEME instead. @@ -671,7 +671,7 @@ - Total number of bytes downloaded + Total number of bytes downloaded. Deprecated since cURL 7.55.0. Use CURLINFO_SIZE_DOWNLOAD_T instead. @@ -694,7 +694,7 @@ - Total number of bytes uploaded + Total number of bytes uploaded. Deprecated since cURL 7.55.0. Use CURLINFO_SIZE_UPLOAD_T instead. @@ -717,7 +717,7 @@ - Average download speed + Average download speed. Deprecated since cURL 7.55.0. Use CURLINFO_SPEED_DOWNLOAD_T instead. @@ -740,7 +740,7 @@ - Average upload speed + Average upload speed. Deprecated since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T instead. diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index e2307cf4533e..6b053ffd3185 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -1528,7 +1528,7 @@ private is used. Setting this option to &null; will disable kerberos support for FTP. Defaults to &null;. - Available as of cURL 7.16.4. + Available as of cURL 7.16.4 and deprecated as of cURL 8.17.0. @@ -2284,7 +2284,7 @@ Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols cURL may use in the transfer. Defaults to CURLPROTO_ALL, ie. cURL will accept all protocols it supports. - See also CURLOPT_REDIR_PROTOCOLS. + See also CURLOPT_REDIR_PROTOCOLS_STR. Available as of cURL 7.19.4 and deprecated as of cURL 7.85.0. @@ -3727,7 +3727,7 @@ &true; to enable and &false; to disable TLS false start which is a mode where a TLS client starts sending application data before verifying the server's Finished message. - Available as of PHP 7.0.7 and cURL 7.42.0. + Available as of PHP 7.0.7 and cURL 7.42.0. Deprecated since cURL 8.15.0. From c095bd07417490498a71fbab5bf76d8354206499 Mon Sep 17 00:00:00 2001 From: Sjoerd Langkemper Date: Wed, 15 Jul 2026 10:54:01 +0200 Subject: [PATCH 2/3] Make clear that this is a cURL version Co-authored-by: Louis-Arnaud --- reference/curl/constants_curl_getinfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/curl/constants_curl_getinfo.xml b/reference/curl/constants_curl_getinfo.xml index 60f64e29c9f7..faddce225ea2 100644 --- a/reference/curl/constants_curl_getinfo.xml +++ b/reference/curl/constants_curl_getinfo.xml @@ -740,7 +740,7 @@ - Average upload speed. Deprecated since 7.55.0. Use CURLINFO_SPEED_UPLOAD_T instead. + Average upload speed. Deprecated since cURL 7.55.0. Use CURLINFO_SPEED_UPLOAD_T instead. From f35cdaf752768cf4e17e4259dbc3d227051bc10b Mon Sep 17 00:00:00 2001 From: Sjoerd Langkemper Date: Thu, 16 Jul 2026 11:28:50 +0200 Subject: [PATCH 3/3] Attempt to make docbook lint happy --- reference/curl/constants_curl_setopt.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index 6b053ffd3185..cae73adddc1f 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -2280,13 +2280,13 @@ (int) - + Bitmask of CURLPROTO_* values. If used, this bitmask limits what protocols cURL may use in the transfer. Defaults to CURLPROTO_ALL, ie. cURL will accept all protocols it supports. See also CURLOPT_REDIR_PROTOCOLS_STR. Available as of cURL 7.19.4 and deprecated as of cURL 7.85.0. - + @@ -3723,12 +3723,12 @@ (int) - + &true; to enable and &false; to disable TLS false start which is a mode where a TLS client starts sending application data before verifying the server's Finished message. Available as of PHP 7.0.7 and cURL 7.42.0. Deprecated since cURL 8.15.0. - +