Skip to content

Commit efdcf6e

Browse files
committed
[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)
1 parent 8764eff commit efdcf6e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

reference/curl/constants_curl_setopt.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,7 @@
597597
It is conditionally enabled by default if PHP is built for non-threaded use
598598
(CLI, FCGI, Apache2-Prefork, etc.).
599599
Available as of cURL 7.9.3 and deprecated as of cURL 7.11.1.
600+
As of PHP 8.4, this option no longer has any effect.
600601
</para>
601602
</listitem>
602603
</varlistentry>

reference/curl/functions/curl-setopt.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
</row>
6767
</thead>
6868
<tbody>
69+
<row>
70+
<entry>8.4.0</entry>
71+
<entry>
72+
<constant>CURLOPT_DNS_USE_GLOBAL_CACHE</constant> no longer has any effect, and enabling it on thread-safe PHP builds no longer triggers a warning.
73+
</entry>
74+
</row>
6975
&curl.changelog.handle-param;
7076
<row>
7177
<entry>7.3.15, 7.4.3</entry>

0 commit comments

Comments
 (0)