Mega Code Archive

 
Categories / Php / Operator
 

Operator Precedence

Associativity          Operators left                   , left                   or left                   xor left                   and right                  print left                   = += -= *= /= .=%=&= |= ^= ~= «= »= left                   ? : left                   || left                   && left                   | left                   ^ left                   & non-associative        == != === non-associative        < <= > >= left                   << >> left                   + - . left                   * /% right                  ! ~ ++ â€“ (int) (double) (string) (array) (object) @ right                  [ non-associative        new