The following table lists the operator precedences from highest to lowest:
( )
->
! -(negation)
**
/ DIV % *
+ - @
= != >= <= > <
&
|
Parentheses are used to change the order of evaluation. As with other languages, everything inside the parentheses is evaluated first. Then the operators are applied according to the precedence table.