Вход Регистрация
Файл: vendor/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php
Строк: 21
<?php declare(strict_types=1);

namespace 
PhpParserLexerTokenEmulator;

use 
PhpParserLexerEmulative;

final class 
MatchTokenEmulator extends KeywordEmulator
{
    public function 
getPhpVersion(): string
    
{
        return 
Emulative::PHP_8_0;
    }

    public function 
getKeywordString(): string
    
{
        return 
'match';
    }

    public function 
getKeywordToken(): int
    
{
        return 
T_MATCH;
    }
}
Онлайн: 1
Реклама