svn: /phpdoc/ja/trunk/appendices/ reserved.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 01 Dec 2020 01:00:23 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351802

Log:
improved confusing translation about reserved words, pointed out by matsui_crhg.

Changed paths:
    U   phpdoc/ja/trunk/appendices/reserved.xml

Modified: phpdoc/ja/trunk/appendices/reserved.xml
===================================================================
--- phpdoc/ja/trunk/appendices/reserved.xml	2020-11-30 23:56:52 UTC (rev 351801)
+++ phpdoc/ja/trunk/appendices/reserved.xml	2020-12-01 01:00:23 UTC (rev 351802)
@@ -25,8 +25,7 @@
    </simpara>
    <simpara>
     PHP 7.0.0 以降は、これらのキーワードを
-    プロパティや定数の名前として使えるようになりました。
-    また、クラスやインターフェイスそしてトレイトのメソッド名としても使えるようになりました。
+    クラスやインターフェイス、そしてトレイトの内部で、プロパティ、定数、メソッドの名前として使えるようになりました。
     しかし、<literal>class</literal> だけは例外で、これを定数名として使うことはできません。
    </simpara>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.