Skip to content

Commit 57145f3

Browse files
committed
Improve SOAP constructor docs
php/doc-en@f309e78
1 parent 38cbdaa commit 57145f3

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

reference/soap/constants.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 37280533a76693adac626a37ffc8daa2276400ce Maintainer: shimooka Status: ready -->
3+
<!-- EN-Revision: f309e78f9439ae5d063a284cefb4b375233aa785 Maintainer: shimooka Status: ready -->
44
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
55
<appendix xml:id="soap.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
&reftitle.constants;

reference/soap/soapclient/construct.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 22583751fbfdaa3eaa41aeb6470d1343f5cb2c78 Maintainer: mumumu Status: ready -->
3+
<!-- EN-Revision: f309e78f9439ae5d063a284cefb4b375233aa785 Maintainer: mumumu Status: ready -->
44

55
<refentry xml:id="soapclient.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
@@ -30,7 +30,7 @@
3030
<term><parameter>wsdl</parameter></term>
3131
<listitem>
3232
<para>
33-
サービスを記述した WSDL ファイルまたは URI。
33+
サービスを記述した <acronym>WSDL</acronym> ファイルまたは URI。
3434
これは自動的にクライアントを設定します。
3535
指定されない場合、クライアントは 非WSDL モードで動作します。
3636
</para>
@@ -644,7 +644,7 @@
644644
<constant>SOAP_SSL_METHOD_SSLv23</constant>
645645
を指定しても意味がありません。
646646
これは後方互換のためだけに存在しています。
647-
PHP 7.2 以降では、
647+
PHP 7.2.0 以降では、
648648
<constant>SOAP_SSL_METHOD_TLS</constant>
649649
を指定しても同様に意味がありません。
650650
これより前のバージョンでは、
@@ -657,18 +657,19 @@
657657
</para>
658658
<para>
659659
このオプションは
660-
PHP 8.1.0 以降では <emphasis>推奨されません</emphasis>。
660+
PHP 8.1.0 以降では
661+
<emphasis role="strong">推奨されません</emphasis>。
661662
個別の TLS のバージョンを指定できる、
662663
より柔軟性に富んだ代替があります。
663664
<link linkend="soapclient.construct.options.stream-context">
664665
<parameter>stream_context</parameter></link> オプションを
665666
'crypto_method'
666667
コンテキストパラメータと一緒に使うようにして下さい。
667-
<example>
668-
<title>TLS 1.3 だけを指定する</title>
668+
<informalexample>
669669
<programlisting role="php">
670670
<![CDATA[
671671
<?php
672+
// TLS 1.3 のみを使うよう指定
672673
$context = stream_context_create([
673674
'ssl' => [
674675
'crypto_method' => STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT
@@ -677,7 +678,7 @@ $context = stream_context_create([
677678
$client = new SoapClient("some.wsdl", ['context' => $context]);
678679
]]>
679680
</programlisting>
680-
</example>
681+
</informalexample>
681682
</para>
682683
</listitem>
683684
</varlistentry>

0 commit comments

Comments
 (0)