didou Fri May 30 08:04:48 2003 EDT
Modified files:
/phpdoc/en/reference/tokenizer/functions token-get-all.xml
Log:
correcting example
Index: phpdoc/en/reference/tokenizer/functions/token-get-all.xml
diff -u phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.3
phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.4
--- phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.3 Thu Feb 6
10:07:51 2003
+++ phpdoc/en/reference/tokenizer/functions/token-get-all.xml Fri May 30 08:04:48
2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.token-get-all">
<refnamediv>
<refname>token_get_all</refname>
@@ -19,13 +19,13 @@
string representation of that token in the source code.
</para>
<example>
- <title><function>token_get_all</function> example</title>
+ <title><function>token_get_all</function> example</title>
<programlisting role="php">
<![CDATA[
<?php
- $tokens = token_get_all(";"); // => array(";");
- $tokens = token_get_all("foreach") // => array(T_FOREACH => "foreach");
- $tokens = token_get_all("/* comment */") // => array(T_ML_COMMENT => "/* comment
*/");
+ $tokens = token_get_all(";"); // => array(";")
+ $tokens = token_get_all("foreach"); // => array(T_FOREACH => "foreach")
+ $tokens = token_get_all("/* comment */"); // => array(T_ML_COMMENT => "/* comment
*/")
?>
]]>
</programlisting>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php