Skip to content

Commit

Permalink
[PHP 8.4] Add new constants and tokens from the tokenizer (#3936)
Browse files Browse the repository at this point in the history
  • Loading branch information
driade authored Oct 29, 2024
1 parent 02e46bd commit 8a6397d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
15 changes: 15 additions & 0 deletions appendices/migration84/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,21 @@
</simplelist>
</sect2>

<sect2 xml:id="migration84.constants.tokenizer">
<title>Tokenizer</title>
<simplelist>
<member>
<constant>T_PUBLIC_SET</constant>
</member>
<member>
<constant>T_PROTECTED_SET</constant>
</member>
<member>
<constant>T_PRIVATE_SET</constant>
</member>
</simplelist>
</sect2>

<sect2 xml:id="migration84.constants.xml">
<title>XML</title>

Expand Down
21 changes: 21 additions & 0 deletions appendices/tokens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -708,20 +708,41 @@ defined('T_FN') || define('T_FN', 10001);
<link linkend="language.oop5">classes and objects</link>
</entry>
</row>
<row xml:id="constant.t-private-set">
<entry><constant>T_PRIVATE_SET</constant></entry>
<entry>private(set)</entry>
<entry>
property hooks (available as of PHP 8.4.0)
</entry>
</row>
<row xml:id="constant.t-protected">
<entry><constant>T_PROTECTED</constant></entry>
<entry>protected</entry>
<entry>
<link linkend="language.oop5">classes and objects</link>
</entry>
</row>
<row xml:id="constant.t-protected-set">
<entry><constant>T_PROTECTED_SET</constant></entry>
<entry>protected(set)</entry>
<entry>
property hooks (available as of PHP 8.4.0)
</entry>
</row>
<row xml:id="constant.t-public">
<entry><constant>T_PUBLIC</constant></entry>
<entry>public</entry>
<entry>
<link linkend="language.oop5">classes and objects</link>
</entry>
</row>
<row xml:id="constant.t-public-set">
<entry><constant>T_PUBLIC_SET</constant></entry>
<entry>public(set)</entry>
<entry>
property hooks (available as of PHP 8.4.0)
</entry>
</row>
<row xml:id="constant.t-readonly">
<entry><constant>T_READONLY</constant></entry>
<entry>readonly</entry>
Expand Down

0 comments on commit 8a6397d

Please sign in to comment.