diff --git a/reference/tokenizer/functions/token-name.xml b/reference/tokenizer/functions/token-name.xml index f30841c44a..11a093ec79 100644 --- a/reference/tokenizer/functions/token-name.xml +++ b/reference/tokenizer/functions/token-name.xml @@ -45,8 +45,8 @@ "T_REQUIRE" +// 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"