PHP has two sets of logical operators: ``++&&++`` / ``++||++``, and ``++and++`` / ``++or++``. The difference between the sets is precedence. Because ``++and++`` / ``++or++`` have a lower precedence than almost any other operator, using them instead of ``++&&++`` / ``++||++`` may not have the result you expect.