svn: /phpdoc/en/trunk/language/ operators.xml
| From: | Mike Ford | Date: | Fri, 10 Jun 2011 08:20:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8240@lists.php.net to get a copy of this message | ||
mgf Fri, 10 Jun 2011 08:20:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312001
Log:
Re-add literal and link markup from 311964 after accidental revert.
Changed paths:
U phpdoc/en/trunk/language/operators.xml
Modified: phpdoc/en/trunk/language/operators.xml
===================================================================
--- phpdoc/en/trunk/language/operators.xml 2011-06-10 07:46:16 UTC (rev 312000)
+++ phpdoc/en/trunk/language/operators.xml 2011-06-10 08:20:03 UTC (rev 312001)
@@ -9,13 +9,18 @@
</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
- as "the ternary operator" (although it should more properly be called the
- conditional operator).
+ operators take only one value, for example <literal>!</literal> (the
+ <link linkend="language.operators.logical">logical not 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 could
+ perhaps more properly be called the conditional operator).
</para>
<para>
A full list of PHP operators follows in the section