Changes

Understanding PHP Variable Types

16 bytes removed, 20:12, 27 October 2016
m
Text replacement - "<table border="0" cellspacing="0"> " to "<table border="0" cellspacing="0" width="100%">"
<table border="0" cellspacing="0" width="100%"><tr>
<td width="20%">[[An Introduction to PHP Variables|Previous]]<td align="center">[[PHP Essentials|Table of Contents]]<td width="20%" align="right">[[PHP Constants|Next]]</td>
<tr>
<googlehtmlet>BUY_PHPphp</googlehtmlet>
== 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.
</pre>
<googlehtmlet>BUY_PHP_BOTTOMphp</googlehtmlet>