PHP Operators Precedence & Associativity

Operator Associativity
clone new Non Associativity
[ Left
** Right
! Right
* / % Left
+ - . Left
<< >> Left
< <= > >= Non Associativity
== != === !== <> <=> Non Associativity
& Left
^ Left
/ Left
&& Left
|| Left
?? Right
?: Left
= += -= *= **= /= .= %= &= |= ^= <<= >>= Right
and Left
xor Left
or Left