« tidy_warning_count
Introducere »
PHP Manual
Alte extensii de bază
Tokenizer
Tokenizer
Introducere
Instalarea / configurarea
Necesități
Instalarea
Configurația la rulare
Tipurile resurselor
Constante predefinite
Exemple
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.
Funcții Tokenizer
token_get_all
— Split given source into PHP tokens
token_name
— Get the symbolic name of a given PHP token