<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
		>
<channel>
	<title>Comments on: Logic bug in php 5.3</title>
	<atom:link href="http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/</link>
	<description>Meaningful Technology</description>
	<lastBuildDate>Mon, 31 Jan 2011 11:23:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Denis</title>
		<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/#comment-1106</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Mon, 21 Dec 2009 14:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.semiologic.com/?p=2299#comment-1106</guid>
		<description>If only it were the only such ticket, lol. :-D</description>
		<content:encoded><![CDATA[<p>If only it were the only such ticket, lol. :-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: miqrogroove</title>
		<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/#comment-1105</link>
		<dc:creator>miqrogroove</dc:creator>
		<pubDate>Mon, 21 Dec 2009 13:52:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.semiologic.com/?p=2299#comment-1105</guid>
		<description>This is why you have to kick and scream in situations like Ticket #7748.  Data types are twice as important in languages that don&#039;t enforce them.</description>
		<content:encoded><![CDATA[<p>This is why you have to kick and scream in situations like Ticket #7748.  Data types are twice as important in languages that don&#039;t enforce them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/#comment-1066</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Fri, 11 Dec 2009 20:01:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.semiologic.com/?p=2299#comment-1066</guid>
		<description>Adding to the previous comment, and further adding to the confusion, php has this obnoxious feature:

var_dump(&#039;&#039; == &#039;0&#039;); // true, because both are empty
var_dump(&#039;&#039; === &#039;0&#039;); // false</description>
		<content:encoded><![CDATA[<p>Adding to the previous comment, and further adding to the confusion, php has this obnoxious feature:</p>
<p>var_dump(&#034; == &#039;0&#039;); // true, because both are empty<br />
var_dump(&#034; === &#039;0&#039;); // false</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/#comment-1065</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Fri, 11 Dec 2009 18:23:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.semiologic.com/?p=2299#comment-1065</guid>
		<description>You&#039;re totally right, yeah. Further investigation revealed it wasn&#039;t new at all.

What had confused me into thinking it was, is that I had never run into the issue before, and there is an implicit string to number conversion when comparing numerical strings:

var_dump(0 == &#039;0&#039;); // true
var_dump(1 == &#039;1&#039;); // true
var_dump(1 == &#039;2&#039;); // false

You learn stuff everyday, as they say. Even when you&#039;re a php junkie. :-D</description>
		<content:encoded><![CDATA[<p>You&#039;re totally right, yeah. Further investigation revealed it wasn&#039;t new at all.</p>
<p>What had confused me into thinking it was, is that I had never run into the issue before, and there is an implicit string to number conversion when comparing numerical strings:</p>
<p>var_dump(0 == &#039;0&#039;); // true<br />
var_dump(1 == &#039;1&#039;); // true<br />
var_dump(1 == &#039;2&#039;); // false</p>
<p>You learn stuff everyday, as they say. Even when you&#039;re a php junkie. :-D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malte</title>
		<link>http://www.semiologic.com/2009/12/10/logic-bug-in-php-5-3/#comment-1062</link>
		<dc:creator>Malte</dc:creator>
		<pubDate>Fri, 11 Dec 2009 15:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.semiologic.com/?p=2299#comment-1062</guid>
		<description>You&#039;re shure that this is new to PHP 5.3?</description>
		<content:encoded><![CDATA[<p>You&#039;re shure that this is new to PHP 5.3?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

