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

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Wed, 15 Apr 2020 01:20:05 +0000

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

Log:
Sort und update list of parser tokens

Patch provided by Guilliam Xavier.

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

Modified: phpdoc/ja/trunk/appendices/tokens.xml
===================================================================
--- phpdoc/ja/trunk/appendices/tokens.xml	2020-04-15 01:04:45 UTC (rev 349658)
+++ phpdoc/ja/trunk/appendices/tokens.xml	2020-04-15 01:20:05 UTC (rev 349659)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344678 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: takagi -->
+<!-- EN-Revision: 349654 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: takagi,mumumu -->

 <appendix xml:id="tokens" xmlns="http://docbook.org/ns/docbook">
  <title>パーサトークンの一覧</title>
@@ -75,8 +75,10 @@
     <row>
      <entry><constant>T_BAD_CHARACTER</constant></entry>
      <entry></entry>
-     <entry>ASCII 32以下の全ての文字。\t (0x09), \n (0x0a) , \r (0x0d)
-     は除く</entry>
+     <entry>
+       ASCII 32以下の全ての文字。\t (0x09), \n (0x0a) , \r (0x0d) は除く
+       (PHP 7.4.0 以降で利用可能です。PHP 7.0.0 より前のバージョンでも使えましたが、使われていませんでした)
+     </entry>
     </row>
     <row>
      <entry><constant>T_BOOLEAN_AND</constant></entry>
@@ -101,7 +103,7 @@
     <row>
      <entry><constant>T_CALLABLE</constant></entry>
      <entry>callable</entry>
-     <entry><link linkend="language.types.callable">callable</link></entry>
+     <entry><link linkend="language.types.callable">callable</link> (PHP 5.4.0 から利用可能)</entry>
     </row>
     <row>
      <entry><constant>T_CASE</constant></entry>
@@ -116,7 +118,7 @@
     <row>
      <entry><constant>T_CHARACTER</constant></entry>
      <entry></entry>
-     <entry>今では使用されていません</entry>
+     <entry>今では使用されていません (PHP 7.0.0 で削除されました)</entry>
     </row>
     <row>
      <entry><constant>T_CLASS</constant></entry>
@@ -152,6 +154,14 @@
      </entry>
     </row>
     <row>
+     <entry><constant>T_COALESCE_EQUAL</constant></entry>
+     <entry>??=</entry>
+     <entry>
+      <link linkend="language.operators.assignment">NULL合体代入演算子</link>
+      (PHP 7.4.0 以降で利用可能)
+     </entry>
+    </row>
+    <row>
      <entry><constant>T_COMMENT</constant></entry>
      <entry>// or #, and /* */</entry>
      <entry><link linkend="language.basic-syntax.comments">コメント</link></entry>
@@ -215,6 +225,11 @@
      <entry><link linkend="language.types.float">浮動小数点数</link></entry>
     </row>
     <row>
+     <entry><constant>T_DO</constant></entry>
+     <entry>do</entry>
+     <entry><link linkend="control-structures.do.while">do..while</link></entry>
+    </row>
+    <row>
      <entry><constant>T_DOC_COMMENT</constant></entry>
      <entry>/** */</entry>
      <entry>
@@ -222,11 +237,6 @@
      </entry>
     </row>
     <row>
-     <entry><constant>T_DO</constant></entry>
-     <entry>do</entry>
-     <entry><link linkend="control-structures.do.while">do..while</link></entry>
-    </row>
-    <row>
      <entry><constant>T_DOLLAR_OPEN_CURLY_BRACES</constant></entry>
      <entry>${</entry>
      <entry><link linkend="language.types.string.parsing.complex">complex
@@ -355,6 +365,14 @@
      <entry><xref linkend="language.exceptions"/> (PHP 5.5.0 以降で使用可能)</entry>
     </row>
     <row>
+     <entry><constant>T_FN</constant></entry>
+     <entry>fn</entry>
+     <entry>
+      <link linkend="migration74.new-features.core.arrow-functions">アロー関数</link>
+      (PHP 7.4.0 以降で利用可能)
+     </entry>
+    </row>
+    <row>
      <entry><constant>T_FOR</constant></entry>
      <entry>for</entry>
      <entry><link linkend="control-structures.for">for</link></entry>
@@ -366,7 +384,7 @@
     </row>
     <row>
      <entry><constant>T_FUNCTION</constant></entry>
-     <entry>function or cfunction</entry>
+     <entry>function</entry>
      <entry><link linkend="language.functions">関数</link></entry>
     </row>
     <row>
@@ -436,16 +454,16 @@
      <entry><xref linkend="language.oop5.traits"/> (PHP 5.4.0 以降で使用可能)</entry>
     </row>
     <row>
+     <entry><constant>T_INTERFACE</constant></entry>
+     <entry>interface</entry>
+     <entry><xref linkend="language.oop5.interfaces"/></entry>
+    </row>
+    <row>
      <entry><constant>T_INT_CAST</constant></entry>
      <entry>(int) or (integer)</entry>
      <entry><link linkend="language.types.typecasting">型キャスト</link></entry>
     </row>
     <row>
-     <entry><constant>T_INTERFACE</constant></entry>
-     <entry>interface</entry>
-     <entry><xref linkend="language.oop5.interfaces"/></entry>
-    </row>
-    <row>
      <entry><constant>T_ISSET</constant></entry>
      <entry>isset()</entry>
      <entry><function>isset</function></entry>
@@ -481,14 +499,6 @@
      <entry><link linkend="language.operators.comparison">比較演算子</link></entry>
     </row>
     <row>
-     <entry><constant>T_SPACESHIP</constant></entry>
-     <entry>&lt;=&gt;</entry>
-     <entry>
-      <link linkend="language.operators.comparison">比較演算子</link>
-      (PHP 7.0.0 以降で使用可能)
-     </entry>
-    </row>
-    <row>
      <entry><constant>T_LINE</constant></entry>
      <entry>__LINE__</entry>
      <entry><link linkend="language.constants.predefined">定数</link></entry>
@@ -552,6 +562,11 @@
      </entry>
     </row>
     <row>
+     <entry><constant>T_NEW</constant></entry>
+     <entry>new</entry>
+     <entry><link linkend="language.oop5">クラスとオブジェクト</link></entry>
+    </row>
+    <row>
      <entry><constant>T_NS_C</constant></entry>
      <entry>__NAMESPACE__</entry>
      <entry>
@@ -568,11 +583,6 @@
      </entry>
     </row>
     <row>
-     <entry><constant>T_NEW</constant></entry>
-     <entry>new</entry>
-     <entry><link linkend="language.oop5">クラスとオブジェクト</link></entry>
-    </row>
-    <row>
      <entry><constant>T_NUM_STRING</constant></entry>
      <entry>"$a[0]"</entry>
      <entry><link linkend="language.types.string.parsing">
@@ -647,18 +657,18 @@
      </entry>
     </row>
     <row>
-     <entry><constant>T_PUBLIC</constant></entry>
-     <entry>public</entry>
+     <entry><constant>T_PROTECTED</constant></entry>
+     <entry>protected</entry>
      <entry>
       <link linkend="language.oop5">クラスとオブジェクト</link>
+      (PHP 5.0.0 以降で使用可能)
      </entry>
     </row>
     <row>
-     <entry><constant>T_PROTECTED</constant></entry>
-     <entry>protected</entry>
+     <entry><constant>T_PUBLIC</constant></entry>
+     <entry>public</entry>
      <entry>
       <link linkend="language.oop5">クラスとオブジェクト</link>
-      (PHP 5.0.0 以降で使用可能)
      </entry>
     </row>
     <row>
@@ -689,6 +699,14 @@
      </link></entry>
     </row>
     <row>
+     <entry><constant>T_SPACESHIP</constant></entry>
+     <entry>&lt;=&gt;</entry>
+     <entry>
+      <link linkend="language.operators.comparison">比較演算子</link>
+      (PHP 7.0.0 以降で使用可能)
+     </entry>
+    </row>
+    <row>
      <entry><constant>T_SR</constant></entry>
      <entry>&gt;&gt;</entry>
      <entry><link linkend="language.operators.bitwise">ビット演算子
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.