Boolean type constant: FALSE : boolean « Data Type « PHP






Boolean type constant: FALSE


<?
if (FALSE)
 print("This will never print<BR>");
else
 print("This will always print<BR>");
?>
           
       








Related examples in the same category

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