dams Thu Feb 6 10:07:51 2003 EDT
Modified files:
/phpdoc/en/reference/tokenizer/functions token-get-all.xml
token-name.xml
Log:
use of example tag
Index: phpdoc/en/reference/tokenizer/functions/token-get-all.xml
diff -u phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.2
phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.3
--- phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.2 Thu Feb 6
04:38:26 2003
+++ phpdoc/en/reference/tokenizer/functions/token-get-all.xml Thu Feb 6 10:07:51
+2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.token-get-all">
<refnamediv>
<refname>token_get_all</refname>
@@ -18,7 +18,8 @@
either a one character string or itself an array containing a token id and the
string representation of that token in the source code.
</para>
- <informalexample>
+ <example>
+ <title><function>token_get_all</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -28,7 +29,7 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</refsect1>
</refentry>
Index: phpdoc/en/reference/tokenizer/functions/token-name.xml
diff -u phpdoc/en/reference/tokenizer/functions/token-name.xml:1.2
phpdoc/en/reference/tokenizer/functions/token-name.xml:1.3
--- phpdoc/en/reference/tokenizer/functions/token-name.xml:1.2 Thu Feb 6 04:38:26
2003
+++ phpdoc/en/reference/tokenizer/functions/token-name.xml Thu Feb 6 10:07:51
+2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.token-name">
<refnamediv>
<refname>token_name</refname>
@@ -12,12 +12,13 @@
<methodparam><type>int</type><parameter>token</parameter></methodparam>
</methodsynopsis>
<para>
- This function will returen the symbolic name for a PHP
+ <function>token_name</function> returns the symbolic name for a PHP
<parameter>token</parameter> value. The symbolic name
returned matches the name of the matching token constant.
</para>
- <informalexample>
+ <example>
<programlisting role="php">
+ <title><function>token_name</function> example</title>
<![CDATA[
<?php
// 260 is the token value for the T_REQUIRE token
@@ -28,7 +29,7 @@
?>
]]>
</programlisting>
- </informalexample>
+ </example>
</refsect1>
</refentry>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php