Added
- Add trait support: top-level
trait Name { }declarations (ASTtype: "trait") and in-classuse A, B;statement. (zephir-lang/php-zephir-parser#195).
Changed
traitis now a reserved keyword; identifiers namedtraitare a syntax error.
trait Name { } declarations (AST type: "trait") and in-class use A, B; statement. (zephir-lang/php-zephir-parser#195).trait is now a reserved keyword; identifiers named trait are a syntax error.