...

/

Logical Operators

Logical Operators

This lesson covers logical operators and how we can use them to evaluate conditions in PHP.

What are Logical Operators? #

Logical operators are used to combine conditional statements. This means that the program can take a decision based on multiple conditions. You will learn more about conditional statements later. But for now, suffice it to say, that conditional statements are those that can either be true or false.

Types of Logical Operators #

There are two logical operators:

...