[DOC-CVS] [doc-en] master: curl: Update connection timeout default to literal 0 (#5498)

[email protected] (Johannes Kingma via GitHub) Sat, 18 Apr 2026 12:18:22 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Johannes Kingma (theking2)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2026-04-18T14:18:20+02:00

Commit: https://github.com/php/doc-en/commit/d7d6dd60085409b295916649e4bd7107742659a2
Raw diff: https://github.com/php/doc-en/commit/d7d6dd60085409b295916649e4bd7107742659a2.diff

curl: Update connection timeout default to literal 0 (#5498)

Changed paths:
  M  reference/curl/constants_curl_setopt.xml


Diff:

diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml
index f3ab431edde0..ce003eaf5d81 100644
--- a/reference/curl/constants_curl_setopt.xml
+++ b/reference/curl/constants_curl_setopt.xml
@@ -239,7 +239,7 @@
    </term>
    <listitem>
     <para>
-     The number of seconds to wait while trying to connect. Use 0 to
+     The number of seconds to wait while trying to connect. Use <literal>0</literal> to
      wait indefinitely.
      This option accepts any value that can be cast to a valid <type>int</type>.
      Defaults to <literal>300</literal>.