Changes

Jump to: navigation, search

Understanding PHP Variable Types

No change in size, 18:03, 1 February 2016
m
Text replacement - "<google>ADSDAQBOX_FLOW</google>" to "<htmlet>adsdaqbox_flow</htmlet>"
== The PHP Boolean Variable Type ==
<googlehtmlet>ADSDAQBOX_FLOWadsdaqbox_flow</googlehtmlet>
PHP boolean type variables hold a value of ''true'' or ''false'' and are used to test conditions such as whether some part of a script was performed correctly. We will look at using boolean values in greater detail when we look at [[PHP Flow Control and Looping]], with particular regard to the ''if'' statement. It is useful to know that the ''true'' and ''false'' values are actually represented internally by PHP boolean values 1 and 0 respectively, though it is important to be aware that boolean 1 and 0 are not the same as integer values 1 and 0.

Navigation menu