token_name

PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
token_name - Get the symbolic name of a given PHP token

Example #1 token_name example

PHP Version:


Example #2 of token_name

PHP Version:


Function token_name:

Tokenizer Functions

Most used PHP functions