From efdcf6ea2e504cb5c425784b60ba723c7d854fff Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Thu, 14 Nov 2024 01:14:22 +0700 Subject: [PATCH] [PHP 8.4] Curl: `CURLOPT_DNS_USE_GLOBAL_CACHE` no-op Commit: php/php-src#15127 PHP.Watch: [PHP 8.4: Curl: `CURLOPT_DNS_USE_GLOBAL_CACHE` no longer has any effect](https://php.watch/versions/8.4/CURLOPT_DNS_USE_GLOBAL_CACHE-no-op) --- reference/curl/constants_curl_setopt.xml | 1 + reference/curl/functions/curl-setopt.xml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index 371646307a0c5..58289a3cb9d5d 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -597,6 +597,7 @@ It is conditionally enabled by default if PHP is built for non-threaded use (CLI, FCGI, Apache2-Prefork, etc.). Available as of cURL 7.9.3 and deprecated as of cURL 7.11.1. + As of PHP 8.4, this option no longer has any effect. diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index 7eb8c3d73f9b5..e062b64731908 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -66,6 +66,12 @@ + + 8.4.0 + + CURLOPT_DNS_USE_GLOBAL_CACHE no longer has any effect, and enabling it on thread-safe PHP builds no longer triggers a warning. + + &curl.changelog.handle-param; 7.3.15, 7.4.3