token_name()
token_name - Get the symbolic name of a given PHP token
Syntax
string token_name (
int $token)
Arguments
Description
token_name() gets the symbolic name for a PHP token value.
Version
PHP 4.2.0, 5
Return value
The symbolic name of the given token. The returned name returned matches the name of the matching token constant.