fixed a bit the T_STRING token doc

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329590 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Karoly Negyesi 2013-02-27 23:36:04 +00:00
parent 7d5306f9c9
commit e56b4513d9

View file

@ -5,15 +5,15 @@
<title>List of Parser Tokens</title>
<para>
Various parts of the PHP language are represented internally by types like
T_SR. PHP outputs identifiers like this one in parse errors, like
T_SR. PHP outputs identifiers like this one in parse errors, like
<literal>"Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."</literal>
</para>
<para>
You're supposed to know what T_SR means. For everybody who doesn't
know that, here is a table with those identifiers, PHP-syntax and
You're supposed to know what T_SR means. For everybody who doesn't
know that, here is a table with those identifiers, PHP-syntax and
references to the appropriate places in the manual.
</para>
<note>
<title>Usage of T_* constants</title>
<para>
@ -29,8 +29,8 @@
(using big numbers like <literal>10000</literal>) and an appropriate strategy that
will work with both PHP versions and T_* values.
</para>
</note>
</note>
<table>
<title>Tokens</title>
<tgroup cols="3">
@ -686,10 +686,10 @@
</row>
<row>
<entry><constant>T_STRING</constant></entry>
<entry>"parent"</entry>
<entry>parent, true etc.</entry>
<entry>
identifiers, e.g. <link linkend="language.types.string.parsing">strings</link>,
object oriented keywords like <literal>parent</literal> and <literal>self</literal>,
identifiers, e.g. <link linkend="language.types.string.parsing">strings</link>,
object oriented keywords like <literal>parent</literal> and <literal>self</literal>,
functions, classes and more are matched.
</entry>
</row>
@ -773,7 +773,7 @@
<entry><link linkend="language.operators.assignment">assignment
operators</link></entry>
</row>
</tbody>
</tbody>
</tgroup>
</table>
<para>