PHP-Parser now requires PHP 5.6 or newer to run. It is however still possible to parse PHP 5.2-5.5 source code, while running on a newer version.
- Expression statements (
expr;
) are now represented using aStmt\Expression
node. Previously these statements were directly represented as their constituent expression.
- Removed
type
subnode onClass
,ClassMethod
andProperty
nodes. Useflags
instead.