<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PHP &#8211; fooled me once again&#8230;</title>
	<atom:link href="http://nanl.de/blog/2010/01/php-fooled-me-once-again/feed/" rel="self" type="application/rss+xml" />
	<link>http://nanl.de/blog/2010/01/php-fooled-me-once-again/</link>
	<description></description>
	<lastBuildDate>Wed, 04 Jan 2012 10:37:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Iñaki Silanes</title>
		<link>http://nanl.de/blog/2010/01/php-fooled-me-once-again/#comment-595</link>
		<dc:creator>Iñaki Silanes</dc:creator>
		<pubDate>Wed, 24 Mar 2010 14:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://nanl.de/blog/?p=291#comment-595</guid>
		<description>It seems to me that it is quite a basic error to perform a check on $result that is inconsistent for some of the possible values of $result. If $result gets its value from a get_sql(), the test on it should be made robust towards any conceivable output of get_sql().

OTOH, count(bool) returning 1 for both False and True is as (little) surprising as having it return 1 for a one-element list, regardless of the value of the element.</description>
		<content:encoded><![CDATA[<p>It seems to me that it is quite a basic error to perform a check on $result that is inconsistent for some of the possible values of $result. If $result gets its value from a get_sql(), the test on it should be made robust towards any conceivable output of get_sql().</p>
<p>OTOH, count(bool) returning 1 for both False and True is as (little) surprising as having it return 1 for a one-element list, regardless of the value of the element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rene</title>
		<link>http://nanl.de/blog/2010/01/php-fooled-me-once-again/#comment-594</link>
		<dc:creator>Rene</dc:creator>
		<pubDate>Mon, 11 Jan 2010 22:34:10 +0000</pubDate>
		<guid isPermaLink="false">http://nanl.de/blog/?p=291#comment-594</guid>
		<description>Ja!! Das ist, was ich an PHP so liebe. Man _DARF_ sich schlicht weg auf gar nichts verlassen und muss alles nachlesen, weil alles anders ist als in anderen Programmiersprachen/-umgebungen … was sich aber auch wieder in der nächsten PHP-Version ändern kann. ;-)</description>
		<content:encoded><![CDATA[<p>Ja!! Das ist, was ich an PHP so liebe. Man _DARF_ sich schlicht weg auf gar nichts verlassen und muss alles nachlesen, weil alles anders ist als in anderen Programmiersprachen/-umgebungen … was sich aber auch wieder in der nächsten PHP-Version ändern kann. <img src='http://nanl.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

