Skip to content

Commit 464ffb2

Browse files
authored
Document missing tokens
Closes GH-1510.
1 parent e3ac07c commit 464ffb2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

appendices/tokens.xml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ defined('T_FN') || define('T_FN', 10001);
5555
<entry>abstract</entry>
5656
<entry><xref linkend="language.oop5.abstract"/></entry>
5757
</row>
58+
<row>
59+
<entry><constant>T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG</constant></entry>
60+
<entry>&amp;</entry>
61+
<entry><xref linkend="language.types.declarations"/> (available as of PHP 8.1.0)</entry>
62+
</row>
63+
<row>
64+
<entry><constant>T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG</constant></entry>
65+
<entry>&amp;</entry>
66+
<entry><xref linkend="language.types.declarations"/> (available as of PHP 8.1.0)</entry>
67+
</row>
5868
<row>
5969
<entry><constant>T_AND_EQUAL</constant></entry>
6070
<entry>&amp;=</entry>
@@ -332,6 +342,11 @@ defined('T_FN') || define('T_FN', 10001);
332342
<entry><link linkend="control-structures.while">while</link>, <link
333343
linkend="control-structures.alternative-syntax">alternative syntax</link></entry>
334344
</row>
345+
<row>
346+
<entry><constant>T_ENUM</constant></entry>
347+
<entry>enum</entry>
348+
<entry><link linkend="language.types.enumerations">Enumerations</link> (available as of PHP 8.1.0)</entry>
349+
</row>
335350
<row>
336351
<entry><constant>T_END_HEREDOC</constant></entry>
337352
<entry></entry>
@@ -579,6 +594,20 @@ defined('T_FN') || define('T_FN', 10001);
579594
<link linkend="language.namespaces">namespaces</link> (available as of PHP 8.0.0)
580595
</entry>
581596
</row>
597+
<row>
598+
<entry><constant>T_NAME_QUALIFIED</constant></entry>
599+
<entry>App\Namespace</entry>
600+
<entry>
601+
<link linkend="language.namespaces">namespaces</link> (available as of PHP 8.0.0)
602+
</entry>
603+
</row>
604+
<row>
605+
<entry><constant>T_NAME_RELATIVE</constant></entry>
606+
<entry>namespace\Namespace</entry>
607+
<entry>
608+
<link linkend="language.namespaces">namespaces</link> (available as of PHP 8.0.0)
609+
</entry>
610+
</row>
582611
<row>
583612
<entry><constant>T_NEW</constant></entry>
584613
<entry>new</entry>
@@ -689,6 +718,13 @@ defined('T_FN') || define('T_FN', 10001);
689718
<link linkend="language.oop5">classes and objects</link>
690719
</entry>
691720
</row>
721+
<row>
722+
<entry><constant>T_READONLY</constant></entry>
723+
<entry>readonly</entry>
724+
<entry>
725+
<link linkend="language.oop5">classes and objects</link> (available as of PHP 8.1.0)
726+
</entry>
727+
</row>
692728
<row>
693729
<entry><constant>T_REQUIRE</constant></entry>
694730
<entry>require()</entry>

0 commit comments

Comments
 (0)