[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/appendices/_tokens.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2020-04-13 14:34:38
Message-ID: svn-cmb-1586788478-349654-1665482964 () svn ! php ! net
[Download RAW message or body]
cmb Mon, 13 Apr 2020 14:34:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349654
Log:
Sort und update list of parser tokens
Patch provided by Guilliam Xavier.
Changed paths:
U phpdoc/en/trunk/appendices/tokens.xml
Modified: phpdoc/en/trunk/appendices/tokens.xml
===================================================================
--- phpdoc/en/trunk/appendices/tokens.xml 2020-04-12 13:25:47 UTC (rev 349653)
+++ phpdoc/en/trunk/appendices/tokens.xml 2020-04-13 14:34:38 UTC (rev 349654)
@@ -72,7 +72,10 @@
<row>
<entry><constant>T_BAD_CHARACTER</constant></entry>
<entry></entry>
- <entry>anything below ASCII 32 except \t (0x09), \n (0x0a) and \r (0x0d)</entry>
+ <entry>
+ anything below ASCII 32 except \t (0x09), \n (0x0a) and \r (0x0d)
+ (available since PHP 7.4.0, and also before PHP 7.0.0 but not used)
+ </entry>
</row>
<row>
<entry><constant>T_BOOLEAN_AND</constant></entry>
@@ -97,7 +100,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> (available since PHP 5.4.0)</entry>
</row>
<row>
<entry><constant>T_CASE</constant></entry>
@@ -112,7 +115,7 @@
<row>
<entry><constant>T_CHARACTER</constant></entry>
<entry></entry>
- <entry>not used anymore</entry>
+ <entry>not used anymore (removed in PHP 7.0.0)</entry>
</row>
<row>
<entry><constant>T_CLASS</constant></entry>
@@ -148,6 +151,14 @@
</entry>
</row>
<row>
+ <entry><constant>T_COALESCE_EQUAL</constant></entry>
+ <entry>??=</entry>
+ <entry>
+ <link linkend="language.operators.assignment">assignment operators</link>
+ (available since PHP 7.4.0)
+ </entry>
+ </row>
+ <row>
<entry><constant>T_COMMENT</constant></entry>
<entry>// or #, and /* */</entry>
<entry><link linkend="language.basic-syntax.comments">comments</link></entry>
@@ -214,6 +225,11 @@
<entry><link linkend="language.types.float">floating point numbers</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>
@@ -221,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
@@ -354,6 +365,14 @@
<entry><xref linkend="language.exceptions"/> (available since 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">arrow functions</link>
+ (available since 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>
@@ -365,7 +384,7 @@
</row>
<row>
<entry><constant>T_FUNCTION</constant></entry>
- <entry>function or cfunction</entry>
+ <entry>function</entry>
<entry><link linkend="language.functions">functions</link></entry>
</row>
<row>
@@ -435,16 +454,16 @@
<entry><xref linkend="language.oop5.traits"/> (available since 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">type-casting</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>
@@ -480,14 +499,6 @@
<entry><link linkend="language.operators.comparison">comparison operators</link></entry>
</row>
<row>
- <entry><constant>T_SPACESHIP</constant></entry>
- <entry><=></entry>
- <entry>
- <link linkend="language.operators.comparison">comparison operators</link>
- (available since PHP 7.0.0)
- </entry>
- </row>
- <row>
<entry><constant>T_LINE</constant></entry>
<entry>__LINE__</entry>
<entry><link linkend="language.constants.predefined">magic constants</link></entry>
@@ -551,6 +562,11 @@
</entry>
</row>
<row>
+ <entry><constant>T_NEW</constant></entry>
+ <entry>new</entry>
+ <entry><link linkend="language.oop5">classes and objects</link></entry>
+ </row>
+ <row>
<entry><constant>T_NS_C</constant></entry>
<entry>__NAMESPACE__</entry>
<entry>
@@ -567,11 +583,6 @@
</entry>
</row>
<row>
- <entry><constant>T_NEW</constant></entry>
- <entry>new</entry>
- <entry><link linkend="language.oop5">classes and objects</link></entry>
- </row>
- <row>
<entry><constant>T_NUM_STRING</constant></entry>
<entry>"$a[0]"</entry>
<entry><link linkend="language.types.string.parsing">numeric array index
@@ -646,15 +657,15 @@
</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">classes and objects</link>
</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">classes and objects</link>
</entry>
@@ -687,6 +698,14 @@
operators</link></entry>
</row>
<row>
+ <entry><constant>T_SPACESHIP</constant></entry>
+ <entry><=></entry>
+ <entry>
+ <link linkend="language.operators.comparison">comparison operators</link>
+ (available since PHP 7.0.0)
+ </entry>
+ </row>
+ <row>
<entry><constant>T_SR</constant></entry>
<entry>>></entry>
<entry><link linkend="language.operators.bitwise">bitwise
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic