svn: /phpdoc/en/trunk/language/ operators.xml
| From: | Peter Cowburn | Date: | Thu, 09 Jun 2011 08:21:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8228@lists.php.net to get a copy of this message | ||
salathe Thu, 09 Jun 2011 08:21:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311964
Log:
wrap operators in <literal>s and link to relevant pages -- markup change only
Changed paths:
U phpdoc/en/trunk/language/operators.xml
Modified: phpdoc/en/trunk/language/operators.xml
===================================================================
--- phpdoc/en/trunk/language/operators.xml 2011-06-09 08:19:03 UTC (rev 311963)
+++ phpdoc/en/trunk/language/operators.xml 2011-06-09 08:21:28 UTC (rev 311964)
@@ -9,11 +9,15 @@
</simpara>
<para>
Operators can be grouped according to the number of values they take. Unary
- operators take only one value, for example ! (the negation operator) or ++
- (the increment operator). Binary operators take two values, such as the
- familiar arithmetical + (plus) and - (minus), and the majority of PHP
- operators fall into this category. Finally there is a single ternary
- operator, ? :, which takes three values; this is usually referred to simply
+ operators take only one value, for example
+ <literal>!</literal> (the <link
linkend="language.operators.logical">negation operator</link>) or
+ <literal>++</literal> (the <link
linkend="language.operators.increment">increment operator</link>).
+ Binary operators take two values, such as the familiar
+ <link linkend="language.operators.arithmetic">arithmetical
operators</link>
+ <literal>+</literal> (plus) and <literal>-</literal> (minus), and the
majority of PHP
+ operators fall into this category. Finally there is a single
+ <link linkend="language.operators.comparison.ternary">ternary
operator</link>, <literal>? :</literal>,
+ which takes three values; this is usually referred to simply
as "the ternary operator" (although it should more properly be called the
conditional operator).
</para>