[doc-en] master: SoapClient::__construct() Fix typo (#6124)
| From: | Mikhail Alferov via GitHub | Date: | Sun, 22 Nov 2026 06:03:35 +0000 |
| Subject: | [doc-en] master: SoapClient::__construct() Fix typo (#6124) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23991@lists.php.net to get a copy of this message | ||
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-11-22T07:03:33+01:00
Commit: https://github.com/php/doc-en/commit/32979f4fef992cd4cd3c7c33c4be414f86419b83
Raw diff: https://github.com/php/doc-en/commit/32979f4fef992cd4cd3c7c33c4be414f86419b83.diff
SoapClient::__construct() Fix typo (#6124)
Changed paths:
M reference/soap/soapclient/construct.xml
Diff:
diff --git a/reference/soap/soapclient/construct.xml b/reference/soap/soapclient/construct.xml
index 3e6e80f95675..778311970e90 100644
--- a/reference/soap/soapclient/construct.xml
+++ b/reference/soap/soapclient/construct.xml
@@ -634,13 +634,15 @@
<programlisting role="php">
<![CDATA[
<?php
+
// Specifying use of TLS 1.3 only
$context = stream_context_create([
'ssl' => [
'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT
]
]);
-$client = new SoapClient("some.wsdl", ['context' => $context]);
+
+$client = new SoapClient("some.wsdl", ['stream_context' => $context]);
]]>
</programlisting>
</informalexample>