PHP Logical Operators
The PHP logical operators are operands that can be used to check two or more expressions together. For examples ( AND, OR, XOR, NOT, ||, &&, ! ). And they would return a true or false as a logic or a boolean value. As we mentioned here, the logical or boolean data type is printed