AND and OR operations in PHP

In PHP there are two sets of AND and OR logical operations.

First case is represented with word AND and OR, second case is represented with symbols && and ||.

There is a difference of the priorities of operations between these two sets of operations.

It is safer to use && and || instead of first case.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator