token_name
Get the symbolic name of a given PHP token
Description
stringtoken_name
inttoken
token_name returns the symbolic name for a PHP
token value. The symbolic name
returned matches the name of the matching token constant.
token_name example
"T_REQUIRE"
// a token constant maps to its own name
echo token_name(T_FUNCTION); // -> "T_FUNCTION"
?>
]]>