Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 20 additions & 10 deletions reference/soap/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
Specifies use of an "Accept-Encoding" header
when passed as part of
<link linkend="soapclient.construct.options.compression">
the <parameter>compression</parameter> option</link>
the <parameter>compression</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -154,7 +155,8 @@
Specifies use of gzip compression
when passed as part of
<link linkend="soapclient.construct.options.compression">
the <parameter>compression</parameter> option</link>
the <parameter>compression</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -168,7 +170,8 @@
Specifies use of deflate compression
when passed as part of
<link linkend="soapclient.construct.options.compression">
the <parameter>compression</parameter> option</link>
the <parameter>compression</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand Down Expand Up @@ -205,7 +208,8 @@
<entry>
Used with the deprecated
<link linkend="soapclient.construct.options.ssl-method">
<parameter>ssl_method</parameter> option</link>
<parameter>ssl_method</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -218,7 +222,8 @@
<entry>
Used with the deprecated
<link linkend="soapclient.construct.options.ssl-method">
<parameter>ssl_method</parameter> option</link>
<parameter>ssl_method</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -231,7 +236,8 @@
<entry>
Used with the deprecated
<link linkend="soapclient.construct.options.ssl-method">
<parameter>ssl_method</parameter> option</link>
<parameter>ssl_method</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -244,7 +250,8 @@
<entry>
Used with the deprecated
<link linkend="soapclient.construct.options.ssl-method">
<parameter>ssl_method</parameter> option</link>
<parameter>ssl_method</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand Down Expand Up @@ -681,7 +688,8 @@
<entry>
Used with the
<link linkend="soapclient.construct.options.features">
<parameter>features</parameter> option</link>
<parameter>features</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -694,7 +702,8 @@
<entry>
Used with the
<link linkend="soapclient.construct.options.features">
<parameter>features</parameter> option</link>
<parameter>features</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand All @@ -707,7 +716,8 @@
<entry>
Used with the
<link linkend="soapclient.construct.options.features">
<parameter>features</parameter> option</link>
<parameter>features</parameter> option
</link>
to <methodname>SoapClient::__construct</methodname>.
</entry>
</row>
Expand Down
16 changes: 8 additions & 8 deletions reference/soap/soapclient/construct.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<term><parameter>wsdl</parameter></term>
<listitem>
<para>
URI of a WSDL file describing the service, which is used to automatically
URI of a <acronym>WSDL</acronym> file describing the service, which is used to automatically
configure the client. If not provided, the client will operate in non-WSDL
mode.
</para>
Expand Down Expand Up @@ -200,7 +200,7 @@
<listitem>
<para>
Path to a client certificate for use with HTTPS authentication.
It must be a <acronym>PEM</acronym> encoded file which contains your certificate
It must be a <acronym>PEM</acronym> encoded file which contains the certificate
and private key.
</para>
<para>
Expand Down Expand Up @@ -352,7 +352,7 @@
Used to map types defined in the WSDL to PHP classes.
It should be specified as an associative <type>array</type> with
type names from the WSDL as keys and names of PHP classes as values.
Note that the type names of an element is not necessarily the same as
Note that the type name of an element is not necessarily the same as
the element (tag) name.
</para>
<para>
Expand Down Expand Up @@ -590,25 +590,25 @@
or SSL 3, respectively.
Specifying <constant>SOAP_SSL_METHOD_SSLv23</constant> has no effect;
the constant exists only for backwards compatibility.
As of PHP 7.2, specifying <constant>SOAP_SSL_METHOD_TLS</constant>
As of PHP 7.2.0, specifying <constant>SOAP_SSL_METHOD_TLS</constant>
also has no effect; in earlier versions, it forced use of TLS 1.0.
</para>
<para>
Note that SSL versions 2 and 3 are considered insecure, and may not
be supported by the installed OpenSSL library.
</para>
<para>
This option is <emphasis>DEPRECATED</emphasis> as of PHP 8.1.0.
This option is <emphasis role="strong">deprecated</emphasis> as of PHP 8.1.0.
A more flexible alternative, which allows specifying
individual versions of TLS, is to use the
<link linkend="soapclient.construct.options.stream-context">
<parameter>stream_context</parameter></link> option with
the 'crypto_method' context parameter.
<example>
<title>Specifying use of TLS 1.3 only</title>
<informalexample>
<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
Expand All @@ -617,7 +617,7 @@ $context = stream_context_create([
$client = new SoapClient("some.wsdl", ['context' => $context]);
]]>
</programlisting>
</example>
</informalexample>
</para>
</listitem>
</varlistentry>
Expand Down