curt Sat Jun 12 22:52:15 2004 EDT
Modified files:
/phpdoc/en/language operators.xml
Log:
Define when precdence is equal.
http://cvs.php.net/diff.php/phpdoc/en/language/operators.xml?r1=1.68&r2=1.69&ty=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.68 phpdoc/en/language/operators.xml:1.69
--- phpdoc/en/language/operators.xml:1.68 Mon May 31 08:34:40 2004
+++ phpdoc/en/language/operators.xml Sat Jun 12 22:52:14 2004
@@ -1,5 +1,5 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.68 $ -->
+<xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.69 $ -->
<chapter id="language.operators">
<title>Operators</title>
<simpara>
@@ -34,7 +34,8 @@
has a higher precedence than the addition ("+") operator.
Parentheses may be used to force precedence, if necessary. For
instance: <literal>(1 + 5) * 3</literal> evaluates to
- <literal>18</literal>.
+ <literal>18</literal>. If operator precedence is equal, left to right
+ associativity is used.
</para>
<para>
The following table lists the precedence of operators with the