mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
d3d4d389b9
commit
23dcc4e7ca
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue