svn: /phpdoc/en/trunk/appendices/ tokens.xml

From: Date: Wed, 27 Feb 2013 23:36:04 +0000
Subject: svn: /phpdoc/en/trunk/appendices/ tokens.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-11046@lists.php.net to get a copy of this message
chx Wed, 27 Feb 2013 23:36:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=329590 Log: fixed a bit the T_STRING token doc Changed paths: U phpdoc/en/trunk/appendices/tokens.xml Modified: phpdoc/en/trunk/appendices/tokens.xml =================================================================== --- phpdoc/en/trunk/appendices/tokens.xml 2013-02-27 21:00:48 UTC (rev 329589) +++ phpdoc/en/trunk/appendices/tokens.xml 2013-02-27 23:36:04 UTC (rev 329590) @@ -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>

« previous php.doc.cvs (#11046) next »