php man page for token_name

Query: token_name

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

TOKEN_NAME(3)								 1							     TOKEN_NAME(3)

token_name - Get the symbolic name of a given PHP token

SYNOPSIS
string token_name (int $token)
DESCRIPTION
token_name(3) gets the symbolic name for a PHP $token value.
PARAMETERS
o $token - The token value.
RETURN VALUES
The symbolic name of the given $token.
EXAMPLES
Example #1 token_name(3) example <?php // 260 is the token value for the T_EVAL token echo token_name(260); // -> "T_EVAL" // a token constant maps to its own name echo token_name(T_FUNCTION); // -> "T_FUNCTION" ?>
SEE ALSO
List of Parser Tokens. PHP Documentation Group TOKEN_NAME(3)
Related Man Pages
ip-token(8) - centos
dspam_crc(1) - debian
token_get_all(3) - php
ip-token(8) - posix
latexml::token(3pm) - debian
Similar Topics in the Unix Linux Community
Shell Script to replace tokens in multiple files
SED Help
Using Wget with Digest Authentication