#php #PHP/operators/logical operators $a and $b Returns TRUE if both $a and $b are TRUE. $a or $b Returns TRUE if $a or $b is TRUE. Note that if both are TRUE, it is also TRUE. That is, FALSE only if both are FALSE. $a x or $b Returns TRUE only if either $a or $b is TRUE. ! $a Returns TRUE if $a is not TRUE. $a && $b Returns TRUE if both $a and $b are TRUE. $a || $b Returns TRUE if $a or $b is T..