updated token name in example (thanks johan)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312354 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Peter Cowburn 2011-06-21 09:24:04 +00:00
parent d3d4d389b9
commit 23dcc4e7ca

View file

@ -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"