Changes

Jump to: navigation, search

Understanding PHP Variable Types

31 bytes added, 14:26, 19 March 2009
The PHP Boolean Variable Type
== The PHP Boolean Variable Type ==
<google>ADSDAQBOX_FLOW</google>
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 as the numbers 1 and 0 respectively.

Navigation menu