diff --git a/reference/soap/constants.xml b/reference/soap/constants.xml index 6032e9cd0d62..2d8072ce79a8 100644 --- a/reference/soap/constants.xml +++ b/reference/soap/constants.xml @@ -140,7 +140,8 @@ Specifies use of an "Accept-Encoding" header when passed as part of - the compression option + the compression option + to SoapClient::__construct. @@ -154,7 +155,8 @@ Specifies use of gzip compression when passed as part of - the compression option + the compression option + to SoapClient::__construct. @@ -168,7 +170,8 @@ Specifies use of deflate compression when passed as part of - the compression option + the compression option + to SoapClient::__construct. @@ -205,7 +208,8 @@ Used with the deprecated - ssl_method option + ssl_method option + to SoapClient::__construct. @@ -218,7 +222,8 @@ Used with the deprecated - ssl_method option + ssl_method option + to SoapClient::__construct. @@ -231,7 +236,8 @@ Used with the deprecated - ssl_method option + ssl_method option + to SoapClient::__construct. @@ -244,7 +250,8 @@ Used with the deprecated - ssl_method option + ssl_method option + to SoapClient::__construct. @@ -681,7 +688,8 @@ Used with the - features option + features option + to SoapClient::__construct. @@ -694,7 +702,8 @@ Used with the - features option + features option + to SoapClient::__construct. @@ -707,7 +716,8 @@ Used with the - features option + features option + to SoapClient::__construct. diff --git a/reference/soap/soapclient/construct.xml b/reference/soap/soapclient/construct.xml index 81f7173127da..7159111fb0f3 100644 --- a/reference/soap/soapclient/construct.xml +++ b/reference/soap/soapclient/construct.xml @@ -26,7 +26,7 @@ wsdl - URI of a WSDL file describing the service, which is used to automatically + URI of a WSDL file describing the service, which is used to automatically configure the client. If not provided, the client will operate in non-WSDL mode. @@ -200,7 +200,7 @@ Path to a client certificate for use with HTTPS authentication. - It must be a PEM encoded file which contains your certificate + It must be a PEM encoded file which contains the certificate and private key. @@ -352,7 +352,7 @@ Used to map types defined in the WSDL to PHP classes. It should be specified as an associative array 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. @@ -590,7 +590,7 @@ or SSL 3, respectively. Specifying SOAP_SSL_METHOD_SSLv23 has no effect; the constant exists only for backwards compatibility. - As of PHP 7.2, specifying SOAP_SSL_METHOD_TLS + As of PHP 7.2.0, specifying SOAP_SSL_METHOD_TLS also has no effect; in earlier versions, it forced use of TLS 1.0. @@ -598,17 +598,17 @@ be supported by the installed OpenSSL library. - This option is DEPRECATED as of PHP 8.1.0. + This option is deprecated as of PHP 8.1.0. A more flexible alternative, which allows specifying individual versions of TLS, is to use the stream_context option with the 'crypto_method' context parameter. - - Specifying use of TLS 1.3 only + [ 'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT @@ -617,7 +617,7 @@ $context = stream_context_create([ $client = new SoapClient("some.wsdl", ['context' => $context]); ]]> - +