Operator precedence: Difference between revisions

m
→‎{{header|Phix}}: bar unary ops
m (→‎{{header|Phix}}: added note about associativity)
m (→‎{{header|Phix}}: bar unary ops)
Line 1,702:
Parenthesis is required to mix and/or/xor in an expression, without said you get a compilation error because the compiler refuses to guess what you actually mean.
 
Perhaps surprisingly Phix does not rely on any form of associativity, mainly because it has a power() function rather than an infix operator for that.<br> You could alternatively say that all the above operators bar the unary ops are left associative, within their own precedence level.
 
=={{header|PHP}}==
7,813

edits