Menu
Samaritan's Purse

TOKEN_NAME

Get the symbolic name of a given PHP token

SYNTAX

token_name ( int $id ) : string

PARAMETERS

id

The token value.

RETURN

The symbolic name of the given id.

EXAMPLES

1

T_OPEN_TAG

2

T_OPEN_TAG

3

382: T_OPEN_TAG
385: T_WHITESPACE
324: T_ECHO
385: T_WHITESPACE
315: T_CONSTANT_ENCAPSED_STRING
385: T_WHITESPACE
384: T_CLOSE_TAG

INTERNAL

token_get_all

EXTERNAL

PHP