svn: /phpdoc/en/trunk/reference/tokenizer/functions/ token-name.xml
| From: | Peter Cowburn | Date: | Tue, 21 Jun 2011 09:24:04 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/tokenizer/functions/ token-name.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8290@lists.php.net to get a copy of this message | ||
salathe Tue, 21 Jun 2011 09:24:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312354
Log:
updated token name in example (thanks johan)
Changed paths:
U phpdoc/en/trunk/reference/tokenizer/functions/token-name.xml
Modified: phpdoc/en/trunk/reference/tokenizer/functions/token-name.xml
===================================================================
--- phpdoc/en/trunk/reference/tokenizer/functions/token-name.xml 2011-06-21 08:44:53 UTC (rev
312353)
+++ phpdoc/en/trunk/reference/tokenizer/functions/token-name.xml 2011-06-21 09:24:04 UTC (rev
312354)
@@ -45,8 +45,8 @@
<programlisting role="php">
<![CDATA[
<?php
-// 260 is the token value for the T_REQUIRE token
-echo token_name(260); // -> "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"