[DOC-CVS] [doc-en] master: curl: Clarify correct behaviour of `CURLOPT_CAINFO_BLOB` (#4746)

[email protected] (Eric Norris via GitHub) Sat, 9 May 2026 09:25:29 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Eric Norris (ericnorris)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-09T11:25:26+02:00

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

curl: Clarify correct behaviour of `CURLOPT_CAINFO_BLOB` (#4746)

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 ce003eaf5d81..a77b7799ade5 100644
--- a/reference/curl/constants_curl_setopt.xml
+++ b/reference/curl/constants_curl_setopt.xml
@@ -183,8 +183,8 @@
    </term>
    <listitem>
     <para>
-     A <type>string</type> with the name of a PEM file holding one or more certificates to verify the
-     peer with. This option overrides <constant>CURLOPT_CAINFO</constant>.
+     A binary <type>string</type> of PEM encoded content holding one or more certificates to verify
+     the peer with. This option overrides <constant>CURLOPT_CAINFO</constant>.
      Available as of PHP 8.2.0 and cURL 7.77.0.
     </para>
    </listitem>