reference/tokenizer/functions/token-get-all.xml
82c84a325ea8d03f45669988e4f6ed53221ebd8f
...
...
@@ -9,11 +9,11 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>array</type><methodname>token_get_all</methodname>
12
-
<methodparam><type>string</type><parameter>source</parameter></methodparam>
12
+
<methodparam><type>string</type><parameter>code</parameter></methodparam>
13
13
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
<function>token_get_all</function> parses the given <parameter>source</parameter>
16
+
<function>token_get_all</function> parses the given <parameter>code</parameter>
17
17
string into PHP language tokens using the Zend engine&apos;s lexical scanner.
18
18
</para>
19
19
<para>
...
...
@@ -27,7 +27,7 @@
27
27
<para>
28
28
<variablelist>
29
29
<varlistentry>
30
-
<term><parameter>source</parameter></term>
30
+
<term><parameter>code</parameter></term>
31
31
<listitem>
32
32
<para>
33
33
The PHP source to parse.
...
...
@@ -63,36 +63,6 @@
63
63
content of the original token in element 1 and the line number in element 2.
64
64
</para>
65
65
</refsect1>
66
-
<refsect1 role="changelog">
67
-
&reftitle.changelog;
68
-
<para>
69
-
<informaltable>
70
-
<tgroup cols="2">
71
-
<thead>
72
-
<row>
73
-
<entry>&Version;</entry>
74
-
<entry>&Description;</entry>
75
-
</row>
76
-
</thead>
77
-
<tbody>
78
-
<row>
79
-
<entry>7.0.0</entry>
80
-
<entry>
81
-
Added the optional <parameter>flags</parameter> parameter along with
82
-
the <constant>TOKEN_PARSE</constant> flag.
83
-
</entry>
84
-
</row>
85
-
<row>
86
-
<entry>5.2.2</entry>
87
-
<entry>
88
-
Line numbers are returned in element 2
89
-
</entry>
90
-
</row>
91
-
</tbody>
92
-
</tgroup>
93
-
</informaltable>
94
-
</para>
95
-
</refsect1>
96
66
<refsect1 role="examples">
97
67
&reftitle.examples;
98
68
<para>
...
...
@@ -204,12 +174,12 @@ T_LNUMBER
204
174
&reftitle.seealso;
205
175
<para>
206
176
<simplelist>
177
+
<member><function>PhpToken::tokenize</function></member>
207
178
<member><function>token_name</function></member>
208
179
</simplelist>
209
180
</para>
210
181
</refsect1>
211
182
</refentry>
212
-

213
183
<!-- Keep this comment at the end of the file
214
184
Local variables:
215
185
mode: sgml
216
186