PHP Parser v4.12.0 Release Notes
Release Date: 2021-07-21 // almost 3 years ago-
โ Added
- ๐ [PHP 8.1] Added support for readonly properties (through a new
MODIFIER_READONLY
). - ๐ [PHP 8.1] Added support for final class constants.
๐ Fixed
- ๐ Fixed compatibility with PHP 8.1.
&
tokens are now canonicalized to theT_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG
andT_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG
tokens used in PHP 8.1. This happens unconditionally, regardless of whether the emulative lexer is used.
- ๐ [PHP 8.1] Added support for readonly properties (through a new