In PHP, there are two versions of logical AND and OR operators.
Note that the
|| opererators have higher precedence than
or. See table below:
|Evaluation||Result of ||Evaluated as|
Because of this it's safer to use
|| instead of