function PhpVersion::getNewestSupported
Get the newest PHP version supported by this library. Support for this version may be partial, if it is still under development.
3 calls to PhpVersion::getNewestSupported()
- Emulative::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ Lexer/ Emulative.php - ParserAbstract::__construct in vendor/
nikic/ php-parser/ lib/ PhpParser/ ParserAbstract.php - Creates a parser instance.
- ParserFactory::createForNewestSupportedVersion in vendor/
nikic/ php-parser/ lib/ PhpParser/ ParserFactory.php - Create a parser targeting the newest version supported by this library. Code for older versions will be accepted if there have been no relevant backwards-compatibility breaks in PHP.
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ PhpVersion.php, line 45
Class
- PhpVersion
- A PHP version, representing only the major and minor version components.
Namespace
PhpParserCode
public static function getNewestSupported() : self {
return self::fromComponents(8, 4);
}