Boolean OperatorsBooleans are used for making comparision and have one of two states... true or false. Booleans can also be called using the following:
true, yes, on, 1here are some examples using a boolean
you could check to see if an integer value is set to greater than 0 ((FALSE)) as such:
Try changing th value of $c to 0.int $c = 15; if ($c) print "\nc is true"; else print "\nc is not true"; |