[DOC-CVS] [doc-en] master: docs: fix outdated ssl:// transport description

[email protected] (Louis-Arnaud Catoire via Christian Weiske) Fri, 6 Mar 2026 07:53:40 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Louis-Arnaud Catoire (lacatoire)
Committer: Christian Weiske (cweiske)
Date: 2026-03-06T08:53:37+01:00

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

docs: fix outdated ssl:// transport description

Changed paths:
  M  appendices/transports.xml


Diff:

diff --git a/appendices/transports.xml b/appendices/transports.xml
index ad183a8fec43..e49b4fd6b809 100644
--- a/appendices/transports.xml
+++ b/appendices/transports.xml
@@ -22,6 +22,13 @@
    <literal>ssl://</literal>, <literal>tls://</literal>,
    <literal>sslv2://</literal> &amp; <literal>sslv3://</literal>.
   </simpara>
+  <note>
+   <simpara>
+    The <literal>sslv2://</literal> and <literal>sslv3://</literal> transports
+    are obsolete and should not be used. They are documented for
+    backward compatibility only.
+   </simpara>
+  </note>
 
   <note>
    <simpara>
@@ -38,8 +45,6 @@
    <listitem><simpara><literal>tcp://www.example.com</literal></simpara></listitem>
    <listitem><simpara><literal>udp://www.example.com</literal></simpara></listitem>
    <listitem><simpara><literal>ssl://www.example.com</literal></simpara></listitem>
-   <listitem><simpara><literal>sslv2://www.example.com</literal></simpara></listitem>
-   <listitem><simpara><literal>sslv3://www.example.com</literal></simpara></listitem>
    <listitem><simpara><literal>tls://www.example.com</literal></simpara></listitem>
   </itemizedlist>
 
@@ -78,11 +83,18 @@
   </simpara>
 
   <simpara>
-   <literal>ssl://</literal> will attempt to negotiate an SSL V2,
-   or SSL V3 connection depending on the capabilities and preferences
-   of the remote host.  <literal>sslv2://</literal> and 
-   <literal>sslv3://</literal> will select the SSL V2 or SSL V3
-   protocol explicitly.
+   <literal>ssl://</literal> will attempt to negotiate a secure SSL/TLS
+   connection depending on the capabilities and preferences of both the
+   client and the remote host. The actual protocols that may be used are
+   determined by the OpenSSL configuration and by any options provided
+   through <function>stream_context_create</function>, such as
+   <literal>ssl.crypto_method</literal>.
+  </simpara>
+
+  <simpara>
+   The SSLv2 and SSLv3 protocols are obsolete and insecure. Their use is
+   strongly discouraged and they are no longer enabled by default in
+   modern versions of PHP and OpenSSL.
   </simpara>
  </section>