(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Split given source into PHP tokens
array token_get_all ( string $source [, int $flags = 0 ] )
token_get_all() parses the given source string into PHP language tokens using the Zend engine's lexical scanner.
For a list of parser tokens, see List of Parser Tokens, or use token_name() to translate a token value into its string representation.
Parameters: