====== Tabelas de precedência dos operadores ====== Essas tabelas sempre são úteis na hora de programar ===== C++ ===== ^ 1 ^ 2 ^ 3 ^ 4 ^ 5 ^ 6 ^ 7 ^ 8 ^ | :: | dynamic_cast | ! | delete | - | != | += | %%<<=%% | | () | static_cast | ~ | delete[] | %%<<%% | & and | -= | %%>>=%% | | [] | reinterpret_cast | (tipo) | .* | %%>>%% | %%^ xor%% | *= | , | | . | const_cast | sizeof | %%->*%% | < | %%| or%% | /= | | | %%->%% | ++i | & | * | %%<=%% | && and | %= | | | i++ | %%--i%% | * | / | > | %%|| or%% | &= | | | %%i--%% | | new | % | >= | ? : | %%^=%% | | | typeid | | new[] | + | == | = | %%|=%% | | ===== PHP ===== ^ 1 ^ 2 ^ 3 ^ 4 ^ 5 ^ 6 ^ 7 ^^ 8 ^ | new | ~ | * | %%<<%% | == | & | = | %= | and | | [] | - | / | %%>>%% | != | %%^%% | += | &= | xor | | ++ | (tipo) | % | < | === | %%|%% | -= | %%|=%% | or | | %%--%% | @ | + | %%<=%% | !== | && | *= | %%^=%% | , | | | instanceof | - | > | | %%||%% | /= | %%<<=%% | | | | ! | . | >= | | ? : | .= | %%>>=%% | |