boolean « Data Type « PHP






1.Converting from a boolean to a string will produce a 1 if the boolean is set to true, or an empty string if false.
2.PHP provides a couple of constants especially for use as Booleans: TRUE and FALSE
3.Boolean values
4.Boolean type constant: FALSE