File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 1+ Version 5.2.0-dev
2+ -----------------
3+
4+ ### Added
5+
6+ * [ 8.4] Added support for ` __PROPERTY__ ` magic constant, represented using a
7+ ` Node\Scalar\MagicConst\Property ` node.
8+ * [ 8.4] Added support for property hooks, which are represented using a new ` hooks ` subnode on
9+ ` Node\Stmt\Property ` and ` Node\Param ` , which contains an array of ` Node\PropertyHook ` .
10+ * [ 8.4] Added support for asymmetric visibility modifiers. Property ` flags ` can now hold the
11+ additional bits ` Modifiers::PUBLIC_SET ` , ` Modifiers::PROTECTED_SET ` and ` Modifiers::PRIVATE_SET ` .
12+ * [ 8.4] Added support for generalized exit function. For backwards compatibility, exit without
13+ argument or a single plain argument continues to use a ` Node\Expr\Exit_ ` node. Otherwise (e.g.
14+ if a named argument is used) it will be represented as a plain ` Node\Expr\FuncCall ` .
15+ * Added support for passing enum values to various builder methods, like ` BuilderFactory::val() ` .
16+
17+ ### Removed
18+
19+ * Removed support for alternative array syntax ` $array{0} ` from the PHP 8 parser. It is still
20+ supported by the PHP 7 parser. This is necessary in order to support property hooks.
21+
122Version 5.1.0 (2024-07-01)
223--------------------------
324
You can’t perform that action at this time.
0 commit comments