中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
Introdução »
« tidy_warning_count
Manual do PHP
Referência das Funções
Outras Extensões Básicas
Tokenizer
Introdução
Instalação/Configuração
Dependências
Instalação
Configurações em Execução
Tipos de Recurso
Constantes pré-definidas
Exemplos
PhpToken
— The PhpToken class
PhpToken::__construct
— Returns a new PhpToken object
PhpToken::getTokenName
— Returns the name of the token.
PhpToken::is
— Tells whether the token is of given kind.
PhpToken::isIgnorable
— Tells whether the token would be ignored by the PHP parser.
PhpToken::__toString
— Returns the textual content of the token.
PhpToken::tokenize
— Splits given source into PHP tokens, represented by PhpToken objects.
Funções da Tokenizer
token_get_all
— Divide um dado fonte em tokens do PHP
token_name
— Pega o nome simbólico de um dado token do PHP