Precedence | Operator(s) | 1 | new |
---|---|
2 | [ |
3 |
! - ++ -- (int) (float) (string) (boolean) (array) (object) |
4 | * / % |
5 | + - . |
6 | < <= > >= |
7 | == != === !== |
8 | && |
9 | || |
10 | ? : |
11 |
= += -= *= /= .= %= |
12 | |
13 | and |
14 | xor |
15 | or |
16 | , |