cvs: phpdoc-pl /reference/tokenizer/functions token-name.xml
| From: | Leszek Krupinski | Date: | Tue, 24 Feb 2004 02:08:02 +0000 |
| Subject: | cvs: phpdoc-pl /reference/tokenizer/functions token-name.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-305@lists.php.net to get a copy of this message | ||
leszek Mon Feb 23 21:08:02 2004 EDT
Added files:
/phpdoc-pl/reference/tokenizer/functions token-name.xml
Log:
http://cvs.php.net/co.php/phpdoc-pl/reference/tokenizer/functions/token-name.xml?r=1.1&p=1
Index: phpdoc-pl/reference/tokenizer/functions/token-name.xml
+++ phpdoc-pl/reference/tokenizer/functions/token-name.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.4 Maintainer: dombal Staus: ready -->
<!-- $Revision: 1.1 $ -->
<refentry id="function.token-name">
<refnamediv>
<refname>token_name</refname>
<refpurpose>Zwraca symboliczn± nazwê danego tokena PHP</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
<methodsynopsis>
<type>string</type><methodname>token_name</methodname>
<methodparam><type>int</type><parameter>token</parameter></methodparam>
</methodsynopsis>
<para>
<function>token_name</function> zwraca symboliczn± nazwê tokena dla
warto¶ci podanej w parametrze <parameter>token</parameter>. Zwrócona
nazwa jest identyczna z nazw± sta³ej zdefiniowanej dla warto¶ci tego
tokena.
</para>
<example>
<title>Przyk³ad u¿ycia <function>token_name</function></title>
<programlisting role="php">
<![CDATA[
<?php
// 260 jest warto¶ci± tokena dla tokena T_REQUIRE
echo token_name(260); // -> "T_REQUIRE"
// sta³a zdefiniowana dla tokena odpowiada swojej nazwie
echo token_name(T_FUNCTION); // -> "T_FUNCTION"
?>
]]>
</programlisting>
</example>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->