Changes

Jump to: navigation, search

Understanding PHP Variable Types

473 bytes added, 19:23, 25 May 2007
The PHP Float Variable Type
?>
</pre>
 
== The PHP Boolean Variable Type ==
 
The PHP boolean variable holds 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 Looping and Flow Control]]. It is useful to know that the ''true'' and ''false'' values are actually represented internally by PHP as the numbers 1 and 0 respectively.
 
== The PHP String Variable ==

Navigation menu