<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ModeWeb Blog &#187; PHP</title>
	<atom:link href="http://www.modeweb.co.uk/blog/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modeweb.co.uk/blog</link>
	<description>Web Development Tech Blog</description>
	<lastBuildDate>Sun, 25 Dec 2011 22:05:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Boolean Rules</title>
		<link>http://www.modeweb.co.uk/blog/2011/12/php-boolean-rules/</link>
		<comments>http://www.modeweb.co.uk/blog/2011/12/php-boolean-rules/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 19:46:03 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.modeweb.co.uk/blog/?p=93</guid>
		<description><![CDATA[When converting to boolean, the following values are considered FALSE:

the boolean FALSE itself
the integer 0 (zero)
the float 0.0 (zero)
the empty string, and the string &#8220;0&#8243;
an array with zero elements
an object with zero member variables (PHP 4 only)
the special type NULL (including unset variables)
SimpleXML objects created from empty tags

Every other value is considered TRUE (including any [...]]]></description>
			<content:encoded><![CDATA[<p>When converting to boolean, the following values are considered FALSE:</p>
<ul>
<li>the boolean FALSE itself</li>
<li>the integer 0 (zero)</li>
<li>the float 0.0 (zero)</li>
<li>the empty string, and the string &#8220;0&#8243;</li>
<li>an array with zero elements</li>
<li>an object with zero member variables (PHP 4 only)</li>
<li>the special type NULL (including unset variables)</li>
<li>SimpleXML objects created from empty tags</li>
</ul>
<p>Every other value is considered TRUE (including any resource).</p>
<p><a href="http://php.net/manual/en/language.types.boolean.php">More information here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.modeweb.co.uk/blog/2011/12/php-boolean-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

