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
Post a Comment