From 23dcc4e7ca27fa108d32bd4b6202952c073e7e77 Mon Sep 17 00:00:00 2001 From: Peter Cowburn Date: Tue, 21 Jun 2011 09:24:04 +0000 Subject: [PATCH] updated token name in example (thanks johan) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312354 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/tokenizer/functions/token-name.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"