Define when precdence is equal.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@161218 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Curt Zirzow 2004-06-13 02:52:14 +00:00
parent 10b34d3834
commit b1907bf15c

View file

@ -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