mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-02-22 09:52:39 +01:00
The PHP 7 and PHP 8 parsers use the same grammar file and only differ in token precedence.
14 lines
235 B
PHP
14 lines
235 B
PHP
<?php declare(strict_types=1);
|
|
|
|
namespace PhpParser\Parser;
|
|
|
|
use PhpParser\Lexer;
|
|
use PhpParser\ParserTest;
|
|
|
|
class Php8Test extends ParserTest
|
|
{
|
|
protected function getParser(Lexer $lexer) {
|
|
return new Php8($lexer);
|
|
}
|
|
}
|