PHP-Parser: No longer to parse PHP 7.4 syntax in php parser

The following file is valid PHP 7 syntax, however php parser rejects it:

<?php

class Match {}

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 13
  • Comments: 21 (21 by maintainers)

Commits related to this issue

Most upvoted comments

Yeah, I wanted to suggest Emulative lexer to be configurable with a PHP version but unfortunately spilled water on my Macbook during preparing a PR for that and killed it on Wednesday 😂