rquadling Wed May 9 13:20:27 2007 UTC
Modified files:
/phpdoc/en/reference/tokenizer/functions token-get-all.xml
Log:
token_get_all now returns line numbers. V5.2.2
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/tokenizer/functions/token-get-all.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc/en/reference/tokenizer/functions/token-get-all.xml
diff -u phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.9
phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.10
--- phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.9 Thu Mar
17 07:47:58 2005
+++ phpdoc/en/reference/tokenizer/functions/token-get-all.xml Wed May 9
13:20:27 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<refentry id="function.token-get-all">
<refnamediv>
<refname>token_get_all</refname>
@@ -42,8 +42,8 @@
An array of token identifiers. Each individual token identifier is either
a single character (i.e.: <literal>;</literal>, <literal>.</literal>,
<literal>></literal>, <literal>!</literal>, etc...),
- or a two element array containing the token index in element 0, and the
string
- content of the original token in element 1.
+ or a three element array containing the token index in element 0, the string
+ content of the original token in element 1 and the line number in element 2.
</para>
</refsect1>
<refsect1 role="examples">
@@ -71,6 +71,28 @@
</example>
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.2.2</entry>
+ <entry>Line numbers are returned in element 2
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
</refentry>
<!-- Keep this comment at the end of the file