A boolean is a data type that can only be true or false.
Which of these might be the correct way to assign a boolean value?
See that? When we use echo with a true boolean, 1 is printed. If the boolean were false, 0 would be printed.
Remember booleans can only express truth or falseness.