From 830cccc0be5248881a8832c1a5f624aa8f60fdc2 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 15 Jan 2004 10:01:55 +0000 Subject: [PATCH] - Reverse order of this list. It's just wrong to list the lowest precendence first. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@148750 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/operators.xml | 132 ++++++++++++++++++++--------------------- 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/language/operators.xml b/language/operators.xml index 0aa1999d0c..5d687bdb9c 100644 --- a/language/operators.xml +++ b/language/operators.xml @@ -1,5 +1,5 @@ - + Operators @@ -38,7 +38,7 @@ The following table lists the precedence of operators with the - lowest-precedence operators listed first. + highest-precedence operators listed first. Operator Precedence @@ -50,24 +50,60 @@ - left - , - - - left - or - - - left - xor - - - left - and + non-associative + new right - print + [ + + + right + ! ~ ++ -- (int) (float) (string) (array) (object) @ + + + left + * / % + + + left + + - . + + + left + << >> + + + non-associative + < <= > >= + + + non-associative + == != === !== + + + left + & + + + left + ^ + + + left + | + + + left + && + + + left + || + + + left + ? : right @@ -75,61 +111,25 @@ = += -= *= /= .= %= &= |= ^= <<= >>= - - left - ? : - - - left - || - - - left - && - - - left - | - - - left - ^ - - - left - & - - - non-associative - == != === !== - - - non-associative - < <= > >= - - - left - << >> - - - left - + - . - - - left - * / % - right - ! ~ ++ -- (int) (float) (string) (array) (object) @ + print - right - [ + left + and - non-associative - new + left + xor + + + left + or + + + left + ,